Ver código fonte

Remove routerparse include from files that dont use it

Nick Mathewson 6 anos atrás
pai
commit
886dc8b0a5

+ 0 - 1
src/core/mainloop/connection.c

@@ -91,7 +91,6 @@
 #include "feature/dirauth/authmode.h"
 #include "feature/dircache/dirserv.h"
 #include "feature/dircommon/directory.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/hibernate/hibernate.h"
 #include "feature/hs/hs_common.h"
 #include "feature/hs/hs_ident.h"

+ 0 - 1
src/core/or/circuitbuild.c

@@ -61,7 +61,6 @@
 #include "feature/nodelist/node_select.h"
 #include "feature/nodelist/nodelist.h"
 #include "feature/nodelist/routerlist.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/routerset.h"
 #include "feature/relay/router.h"
 #include "feature/relay/routermode.h"

+ 0 - 1
src/core/or/policies.c

@@ -22,7 +22,6 @@
 #include "app/config/config.h"
 #include "core/or/policies.h"
 #include "feature/dirparse/policy_parse.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/microdesc.h"
 #include "feature/nodelist/networkstatus.h"
 #include "feature/nodelist/nodelist.h"

+ 0 - 1
src/core/or/relay.c

@@ -79,7 +79,6 @@
 #include "feature/rend/rendcommon.h"
 #include "feature/nodelist/describe.h"
 #include "feature/nodelist/routerlist.h"
-#include "feature/dirparse/routerparse.h"
 #include "core/or/scheduler.h"
 #include "feature/stats/rephist.h"
 

+ 0 - 1
src/feature/client/entrynodes.c

@@ -130,7 +130,6 @@
 #include "feature/client/transports.h"
 #include "feature/control/control.h"
 #include "feature/dircommon/directory.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/describe.h"
 #include "feature/nodelist/microdesc.h"
 #include "feature/nodelist/networkstatus.h"

+ 0 - 1
src/feature/nodelist/microdesc.c

@@ -20,7 +20,6 @@
 #include "feature/dirclient/dlstatus.h"
 #include "feature/dircommon/directory.h"
 #include "feature/dirparse/microdesc_parse.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/dirlist.h"
 #include "feature/nodelist/microdesc.h"
 #include "feature/nodelist/networkstatus.h"

+ 0 - 1
src/feature/nodelist/nodelist.c

@@ -61,7 +61,6 @@
 #include "feature/nodelist/node_select.h"
 #include "feature/nodelist/nodelist.h"
 #include "feature/nodelist/routerlist.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/routerset.h"
 #include "feature/nodelist/torcert.h"
 #include "feature/rend/rendservice.h"

+ 0 - 1
src/feature/rend/rendcache.c

@@ -12,7 +12,6 @@
 #include "app/config/config.h"
 #include "feature/stats/rephist.h"
 #include "feature/nodelist/routerlist.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/rend/rendcommon.h"
 #include "feature/rend/rendparse.h"
 

+ 0 - 1
src/feature/rend/rendcommon.c

@@ -31,7 +31,6 @@
 #include "feature/hs_common/replaycache.h"
 #include "feature/relay/router.h"
 #include "feature/nodelist/routerlist.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/dirparse/signing.h"
 
 #include "core/or/cpath_build_state_st.h"

+ 0 - 1
src/feature/rend/rendservice.c

@@ -22,7 +22,6 @@
 #include "feature/control/control.h"
 #include "feature/dirclient/dirclient.h"
 #include "feature/dircommon/directory.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/hs/hs_common.h"
 #include "feature/hs/hs_config.h"
 #include "feature/hs_common/replaycache.h"

+ 0 - 1
src/test/fuzz/fuzz_hsdescv3.c

@@ -7,7 +7,6 @@
 #include "trunnel/ed25519_cert.h" /* Trunnel interface. */
 #include "lib/crypt_ops/crypto_ed25519.h"
 #include "feature/hs/hs_descriptor.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/dirparse/unparseable.h"
 
 #include "test/fuzz/fuzzing.h"

+ 0 - 1
src/test/test.c

@@ -55,7 +55,6 @@
 #include "core/crypto/onion_tap.h"
 #include "core/or/policies.h"
 #include "feature/stats/rephist.h"
-#include "feature/dirparse/routerparse.h"
 #include "app/config/statefile.h"
 #include "lib/crypt_ops/crypto_curve25519.h"
 

+ 0 - 1
src/test/test_dir_common.h

@@ -5,7 +5,6 @@
 
 #include "core/or/or.h"
 #include "feature/nodelist/networkstatus.h"
-#include "feature/dirparse/routerparse.h"
 
 #define TEST_DIR_ROUTER_ID_1 3
 #define TEST_DIR_ROUTER_ID_2 5

+ 0 - 1
src/test/test_dir_handle_get.c

@@ -30,7 +30,6 @@
 #include "feature/nodelist/nodelist.h"
 #include "feature/client/entrynodes.h"
 #include "feature/dirparse/authcert_parse.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/networkstatus.h"
 #include "core/proto/proto_http.h"
 #include "lib/geoip/geoip.h"

+ 0 - 1
src/test/test_entrynodes.c

@@ -26,7 +26,6 @@
 #include "feature/nodelist/networkstatus.h"
 #include "core/or/policies.h"
 #include "feature/nodelist/routerlist.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/nodelist/routerset.h"
 #include "app/config/statefile.h"
 

+ 0 - 1
src/test/test_routerlist.c

@@ -34,7 +34,6 @@
 #include "feature/nodelist/routerlist.h"
 #include "feature/nodelist/routerset.h"
 #include "feature/dirparse/authcert_parse.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/dirparse/ns_parse.h"
 #include "feature/dirauth/shared_random.h"
 #include "app/config/statefile.h"

+ 0 - 1
src/test/test_shared_random.c

@@ -20,7 +20,6 @@
 #include "feature/nodelist/authcert.h"
 #include "feature/nodelist/dirlist.h"
 #include "feature/dirparse/authcert_parse.h"
-#include "feature/dirparse/routerparse.h"
 #include "feature/hs_common/shared_random_client.h"
 #include "feature/dircommon/voting_schedule.h"