diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 11:32:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 471104eaa5e7fbe1b5a32b8be388daae328abd4a (patch) | |
tree | 65ff6d32af5b8713009db5b067fb3bd5fddeb076 /src/or/conscache.h | |
parent | 7a61a92870df84c37bacd9d065e0c8df2b938d37 (diff) | |
download | tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.tar.gz tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.zip |
Remove needless includes from or.h
or.h should really include only the minimum of stuff from or/*,
common/*, and lib/*.
Diffstat (limited to 'src/or/conscache.h')
-rw-r--r-- | src/or/conscache.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/or/conscache.h b/src/or/conscache.h index 20af6402c5..c46b824235 100644 --- a/src/or/conscache.h +++ b/src/or/conscache.h @@ -27,9 +27,9 @@ void consensus_cache_delete_pending(consensus_cache_t *cache, int force); int consensus_cache_get_n_filenames_available(consensus_cache_t *cache); consensus_cache_entry_t *consensus_cache_add(consensus_cache_t *cache, - const config_line_t *labels, - const uint8_t *data, - size_t datalen); + const struct config_line_t *labels, + const uint8_t *data, + size_t datalen); consensus_cache_entry_t *consensus_cache_find_first( consensus_cache_t *cache, @@ -46,7 +46,7 @@ void consensus_cache_filter_list(smartlist_t *lst, const char *consensus_cache_entry_get_value(const consensus_cache_entry_t *ent, const char *key); -const config_line_t *consensus_cache_entry_get_labels( +const struct config_line_t *consensus_cache_entry_get_labels( const consensus_cache_entry_t *ent); void consensus_cache_entry_incref(consensus_cache_entry_t *ent); @@ -64,4 +64,3 @@ int consensus_cache_entry_is_mapped(consensus_cache_entry_t *ent); #endif #endif /* !defined(TOR_CONSCACHE_H) */ - |