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/dirparse | |
parent | 5f9839ee424476de83da8533955da58068e57037 (diff) | |
download | tor-d19934866417aa9106fb17c39cfec606d33eacdb.tar.gz tor-d19934866417aa9106fb17c39cfec606d33eacdb.zip |
Remove versions.h include from routerparse.h
Diffstat (limited to 'src/feature/dirparse')
-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 |
3 files changed, 2 insertions, 2 deletions
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); |