[tor-commits] [tor/master] router: Add some missing #endif comments

asn at torproject.org asn at torproject.org
Tue Mar 26 13:37:54 UTC 2019


commit 51f59f213e3850d1d77f0e60355d914c6583aeb4
Author: teor <teor at torproject.org>
Date:   Tue Feb 19 21:23:27 2019 +1000

    router: Add some missing #endif comments
---
 src/feature/relay/router.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h
index f17e6a943..55b9ef9e6 100644
--- a/src/feature/relay/router.h
+++ b/src/feature/relay/router.h
@@ -134,8 +134,8 @@ STATIC extrainfo_t *router_build_fresh_signed_extrainfo(
 STATIC void router_update_routerinfo_from_extrainfo(routerinfo_t *ri,
                                                     const extrainfo_t *ei);
 STATIC int router_dump_and_sign_routerinfo_descriptor_body(routerinfo_t *ri);
-#endif
+#endif /* defined(TOR_UNIT_TESTS) */
 
-#endif
+#endif /* defined(ROUTER_PRIVATE) */
 
 #endif /* !defined(TOR_ROUTER_H) */





More information about the tor-commits mailing list