[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit ca9d605fa7c72083b0ef721b4b555de80a5795d8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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, \



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits