aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dircache
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-12 18:25:51 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-12 18:25:51 -0500
commitd0c3350218765d43c538df4dd1d548fa9a7c430a (patch)
tree28625354052d176213fa309d730beb6df297309a /src/feature/dircache
parent3147cbba52c3986c3f59101a7199dc73076d2b00 (diff)
downloadtor-d0c3350218765d43c538df4dd1d548fa9a7c430a.tar.gz
tor-d0c3350218765d43c538df4dd1d548fa9a7c430a.zip
Run "make autostyle".
Diffstat (limited to 'src/feature/dircache')
-rw-r--r--src/feature/dircache/dirserv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dircache/dirserv.h b/src/feature/dircache/dirserv.h
index 3a168c2035..73a64b1b7e 100644
--- a/src/feature/dircache/dirserv.h
+++ b/src/feature/dircache/dirserv.h
@@ -93,7 +93,7 @@ void dirserv_set_cached_consensus_networkstatus(const char *consensus,
const common_digests_t *digests,
const uint8_t *sha3_as_signed,
time_t published);
-#else
+#else /* !defined(HAVE_MODULE_DIRCACHE) */
#define have_module_dircache() (0)
#define directory_caches_unknown_auth_certs(opt) \
((void)(opt), 0)
@@ -112,7 +112,7 @@ void dirserv_set_cached_consensus_networkstatus(const char *consensus,
(void)(e); \
(void)(f); \
} STMT_END
-#endif
+#endif /* defined(HAVE_MODULE_DIRCACHE) */
void dirserv_clear_old_networkstatuses(time_t cutoff);
int dirserv_get_routerdesc_spool(smartlist_t *spools_out, const char *key,