summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/process_descs.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-16 13:27:42 -0400
committerNick Mathewson <nickm@torproject.org>2019-09-16 13:27:42 -0400
commit68a0106bf32988e1e085bbeaf843d3525e154c95 (patch)
treecbd505e5303a06a3369772be570fd5592bade03d /src/feature/dirauth/process_descs.h
parent7cd68b04def1c0256b98248d18680e4e4ed92071 (diff)
downloadtor-68a0106bf32988e1e085bbeaf843d3525e154c95.tar.gz
tor-68a0106bf32988e1e085bbeaf843d3525e154c95.zip
Run "make autostyle" and fix wide lines.
Diffstat (limited to 'src/feature/dirauth/process_descs.h')
-rw-r--r--src/feature/dirauth/process_descs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dirauth/process_descs.h b/src/feature/dirauth/process_descs.h
index 184caa18b8..9c9b2e354e 100644
--- a/src/feature/dirauth/process_descs.h
+++ b/src/feature/dirauth/process_descs.h
@@ -38,7 +38,7 @@ uint32_t dirserv_router_get_status(const routerinfo_t *router,
int severity);
void dirserv_set_node_flags_from_authoritative_status(node_t *node,
uint32_t authstatus);
-#else
+#else /* !(defined(HAVE_MODULE_DIRAUTH)) */
static inline int
dirserv_load_fingerprint_file(void)
{
@@ -107,7 +107,7 @@ dirserv_set_node_flags_from_authoritative_status(node_t *node,
(void)node;
(void)authstatus;
}
-#endif
+#endif /* defined(HAVE_MODULE_DIRAUTH) */
#ifdef TOR_UNIT_TESTS
STATIC int dirserv_router_has_valid_address(routerinfo_t *ri);