summaryrefslogtreecommitdiff
path: root/src/feature/relay
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-22 09:40:31 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:40:31 -0400
commit931a5db2a7ded73ddd72cb6646b506d49782f3ec (patch)
tree2f7d2e4850f2e8c698fdc53bded13c23704034cf /src/feature/relay
parentb2d487ae2249a307cd23255dbb1a22241eefd6ef (diff)
downloadtor-931a5db2a7ded73ddd72cb6646b506d49782f3ec.tar.gz
tor-931a5db2a7ded73ddd72cb6646b506d49782f3ec.zip
Re-run make autostyle.
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/relay_periodic.c2
-rw-r--r--src/feature/relay/router.c2
-rw-r--r--src/feature/relay/routermode.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/relay/relay_periodic.c b/src/feature/relay/relay_periodic.c
index 7dc4cb4530..d1b3183953 100644
--- a/src/feature/relay/relay_periodic.c
+++ b/src/feature/relay/relay_periodic.c
@@ -37,7 +37,7 @@
PERIODIC_EVENT(name, \
PERIODIC_EVENT_ROLE_##roles, \
flags)
-#endif
+#endif /* !defined(COCCI) */
#define FL(name) (PERIODIC_EVENT_FLAG_##name)
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 92803f88a9..5c79010934 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -386,7 +386,7 @@ get_server_identity_key,(void))
return server_identitykey;
}
-#endif
+#endif /* defined(HAVE_MODULE_RELAY) */
/** Return true iff we are a server and the server identity key
* has been set. */
diff --git a/src/feature/relay/routermode.h b/src/feature/relay/routermode.h
index f6195a8698..9891a038ad 100644
--- a/src/feature/relay/routermode.h
+++ b/src/feature/relay/routermode.h
@@ -25,7 +25,7 @@ void set_server_advertised(int s);
/** Is the relay module enabled? */
#define have_module_relay() (1)
-#else
+#else /* !defined(HAVE_MODULE_RELAY) */
#define dir_server_mode(options) (((void)(options)),0)
#define server_mode(options) (((void)(options)),0)
@@ -37,6 +37,6 @@ void set_server_advertised(int s);
#define have_module_relay() (0)
-#endif
+#endif /* defined(HAVE_MODULE_RELAY) */
#endif /* !defined(TOR_ROUTERMODE_H) */