summaryrefslogtreecommitdiff
path: root/src/feature/relay
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-03-12 11:40:48 -0500
committerNick Mathewson <nickm@torproject.org>2021-03-12 11:40:48 -0500
commit444233c15ec34b78bba0b03547f0ae70b8e2b918 (patch)
tree934196084833755c33879b4c04faf1eaa6b1bc1d /src/feature/relay
parentb5d08ddc09ec785d81e4043d9f9e2f032c9e49ab (diff)
downloadtor-444233c15ec34b78bba0b03547f0ae70b8e2b918.tar.gz
tor-444233c15ec34b78bba0b03547f0ae70b8e2b918.zip
Run "make autostyle" in advance of new series.
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/relay_config.h2
-rw-r--r--src/feature/relay/relay_find_addr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/relay_config.h b/src/feature/relay/relay_config.h
index eb4c3ccfae..cb08531782 100644
--- a/src/feature/relay/relay_config.h
+++ b/src/feature/relay/relay_config.h
@@ -93,7 +93,7 @@ STATIC int have_enough_mem_for_dircache(const struct or_options_t *options,
struct port_cfg_t;
STATIC const char *describe_relay_port(const struct port_cfg_t *port);
-#endif /* TOR_UNIT_TESTS */
+#endif /* defined(TOR_UNIT_TESTS) */
#endif /* defined(RELAY_CONFIG_PRIVATE) */
diff --git a/src/feature/relay/relay_find_addr.h b/src/feature/relay/relay_find_addr.h
index 82f4f68974..5bb7f8736e 100644
--- a/src/feature/relay/relay_find_addr.h
+++ b/src/feature/relay/relay_find_addr.h
@@ -28,5 +28,5 @@ void relay_addr_learn_from_dirauth(void);
#endif /* RELAY_FIND_ADDR_PRIVATE */
-#endif /* TOR_RELAY_FIND_ADDR_H */
+#endif /* !defined(TOR_RELAY_FIND_ADDR_H) */