瀏覽代碼

router: Add some missing #endif comments

teor 5 年之前
父節點
當前提交
51f59f213e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/feature/relay/router.h

+ 2 - 2
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) */