[tor-commits] [tor/master] conscache.h: declare config_line_t structure.

nickm at torproject.org nickm at torproject.org
Thu Jan 9 12:32:54 UTC 2020


commit ca9d605fa7c72083b0ef721b4b555de80a5795d8
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Dec 16 13:24:21 2019 -0500

    conscache.h: declare config_line_t structure.
    
    This frees us from a dependency on include order.
---
 src/feature/dircache/conscache.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/feature/dircache/conscache.h b/src/feature/dircache/conscache.h
index 5e0489f3e..38e3ba85a 100644
--- a/src/feature/dircache/conscache.h
+++ b/src/feature/dircache/conscache.h
@@ -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, \





More information about the tor-commits mailing list