[tor-commits] [tor/master] relay: Run "make autostyle"

nickm at torproject.org nickm at torproject.org
Thu Apr 9 15:56:22 UTC 2020


commit cb262930f5b028bfa5297b4a0199aead66d35f0a
Author: teor <teor at torproject.org>
Date:   Tue Mar 17 17:43:02 2020 +1000

    relay: Run "make autostyle"
    
    But only take the changes from the relay module.
    
    Part of 33633.
---
 src/feature/relay/circuitbuild_relay.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/feature/relay/circuitbuild_relay.h b/src/feature/relay/circuitbuild_relay.h
index 19dbc4b94..d14f304f1 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) */





More information about the tor-commits mailing list