]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
conscache.h: declare config_line_t structure.
authorNick Mathewson <nickm@torproject.org>
Mon, 16 Dec 2019 18:24:21 +0000 (13:24 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 9 Jan 2020 12:30:35 +0000 (07:30 -0500)
This frees us from a dependency on include order.

src/feature/dircache/conscache.h

index 5e0489f3ebf57a2c82874f135a933c0a3af733d9..38e3ba85aba632f7000be6dff431aa1e775b0eec 100644 (file)
@@ -14,6 +14,8 @@
 typedef struct consensus_cache_entry_t consensus_cache_entry_t;
 typedef struct consensus_cache_t consensus_cache_t;
 
+struct config_line_t;
+
 HANDLE_DECL(consensus_cache_entry, consensus_cache_entry_t, )
 #define consensus_cache_entry_handle_free(h)    \
   FREE_AND_NULL(consensus_cache_entry_handle_t, \