diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-10-01 11:22:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-01 11:22:47 -0500 |
commit | d19934866417aa9106fb17c39cfec606d33eacdb (patch) | |
tree | a3ff3eb465e2c7ff29c939bc031f6c4eea4e0e61 /src/feature | |
parent | 5f9839ee424476de83da8533955da58068e57037 (diff) | |
download | tor-d19934866417aa9106fb17c39cfec606d33eacdb.tar.gz tor-d19934866417aa9106fb17c39cfec606d33eacdb.zip |
Remove versions.h include from routerparse.h
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/control/control.c | 2 | ||||
-rw-r--r-- | src/feature/dirauth/process_descs.c | 1 | ||||
-rw-r--r-- | src/feature/dirparse/ns_parse.c | 1 | ||||
-rw-r--r-- | src/feature/dirparse/routerparse.c | 1 | ||||
-rw-r--r-- | src/feature/dirparse/routerparse.h | 2 |
5 files changed, 4 insertions, 3 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c index 7f0032c0bf..f0db97dc89 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -52,6 +52,7 @@ #include "core/or/connection_or.h" #include "core/or/policies.h" #include "core/or/reasons.h" +#include "core/or/versions.h" #include "core/proto/proto_control0.h" #include "core/proto/proto_http.h" #include "feature/client/addressmap.h" @@ -65,7 +66,6 @@ #include "feature/dirclient/dirclient.h" #include "feature/dirclient/dlstatus.h" #include "feature/dircommon/directory.h" -#include "feature/dirparse/routerparse.h" #include "feature/hibernate/hibernate.h" #include "feature/hs/hs_cache.h" #include "feature/hs/hs_common.h" diff --git a/src/feature/dirauth/process_descs.c b/src/feature/dirauth/process_descs.c index 94c456a775..c379f25bdd 100644 --- a/src/feature/dirauth/process_descs.c +++ b/src/feature/dirauth/process_descs.c @@ -17,6 +17,7 @@ #include "app/config/config.h" #include "core/or/policies.h" +#include "core/or/versions.h" #include "feature/dirauth/keypin.h" #include "feature/dirauth/reachability.h" #include "feature/dirclient/dlstatus.h" diff --git a/src/feature/dirparse/ns_parse.c b/src/feature/dirparse/ns_parse.c index e356c0c11f..72299e8071 100644 --- a/src/feature/dirparse/ns_parse.c +++ b/src/feature/dirparse/ns_parse.c @@ -13,6 +13,7 @@ #include "core/or/or.h" #include "app/config/config.h" +#include "core/or/versions.h" #include "feature/client/entrynodes.h" #include "feature/dirauth/dirvote.h" #include "feature/dirparse/authcert_parse.h" diff --git a/src/feature/dirparse/routerparse.c b/src/feature/dirparse/routerparse.c index 2aa6bef802..2249ab7cbc 100644 --- a/src/feature/dirparse/routerparse.c +++ b/src/feature/dirparse/routerparse.c @@ -55,6 +55,7 @@ #include "core/or/or.h" #include "app/config/config.h" #include "core/or/policies.h" +#include "core/or/versions.h" #include "feature/dirparse/parsecommon.h" #include "feature/dirparse/policy_parse.h" #include "feature/dirparse/routerparse.h" diff --git a/src/feature/dirparse/routerparse.h b/src/feature/dirparse/routerparse.h index 3022d60d36..6568dce0a4 100644 --- a/src/feature/dirparse/routerparse.h +++ b/src/feature/dirparse/routerparse.h @@ -12,8 +12,6 @@ #ifndef TOR_ROUTERPARSE_H #define TOR_ROUTERPARSE_H -#include "core/or/versions.h" - int router_get_router_hash(const char *s, size_t s_len, char *digest); int router_get_extrainfo_hash(const char *s, size_t s_len, char *digest); |