]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
relay: Run "make autostyle"
authorteor <teor@torproject.org>
Tue, 17 Mar 2020 07:43:02 +0000 (17:43 +1000)
committerteor <teor@torproject.org>
Thu, 9 Apr 2020 01:00:04 +0000 (11:00 +1000)
But only take the changes from the relay module.

Part of 33633.

src/feature/relay/circuitbuild_relay.h

index 19dbc4b943d74f1f9b4fa5ef73aee1d16c42f711..d14f304f1cc6de714dbb1f187978401239ea8f23 100644 (file)
@@ -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) */