aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-03-17 17:43:02 +1000
committerteor <teor@torproject.org>2020-04-09 11:00:04 +1000
commitcb262930f5b028bfa5297b4a0199aead66d35f0a (patch)
treeaf81876fbf6456e39b1b66db6ffdc5b1350786b8 /src/feature
parent00a45a900ed4784b2a1110fef3a2e5eefb4b049a (diff)
downloadtor-cb262930f5b028bfa5297b4a0199aead66d35f0a.tar.gz
tor-cb262930f5b028bfa5297b4a0199aead66d35f0a.zip
relay: Run "make autostyle"
But only take the changes from the relay module. Part of 33633.
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/relay/circuitbuild_relay.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/relay/circuitbuild_relay.h b/src/feature/relay/circuitbuild_relay.h
index 19dbc4b943..d14f304f1c 100644
--- a/src/feature/relay/circuitbuild_relay.h
+++ b/src/feature/relay/circuitbuild_relay.h
@@ -41,7 +41,7 @@ int onionskin_answer(struct or_circuit_t *circ,
const char *keys, size_t keys_len,
const uint8_t *rend_circ_nonce);
-#else
+#else /* !defined(HAVE_MODULE_RELAY) */
static inline int
circuit_extend(struct cell_t *cell, struct circuit_t *circ)
@@ -67,7 +67,7 @@ onionskin_answer(struct or_circuit_t *circ,
return -1;
}
-#endif
+#endif /* defined(HAVE_MODULE_RELAY) */
#ifdef TOR_UNIT_TESTS
@@ -79,6 +79,6 @@ STATIC void circuit_open_connection_for_extend(const struct extend_cell_t *ec,
struct circuit_t *circ,
int should_launch);
-#endif
+#endif /* defined(TOR_UNIT_TESTS) */
#endif /* !defined(TOR_FEATURE_RELAY_CIRCUITBUILD_RELAY_H) */