diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-14 16:41:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-14 16:48:15 -0400 |
commit | df9a3fe86f6dfabbe5ae777c3e60ec91edf09d23 (patch) | |
tree | f36d5461917932faf8ad8efd4689ce074739608f /src/test | |
parent | 6896ab28b29f614f774fa39145d36586d14d1f22 (diff) | |
download | tor-df9a3fe86f6dfabbe5ae777c3e60ec91edf09d23.tar.gz tor-df9a3fe86f6dfabbe5ae777c3e60ec91edf09d23.zip |
Make server_port_cfg_t and port_cfg_t into separate headers.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_config.c | 1 | ||||
-rw-r--r-- | src/test/test_dir.c | 2 | ||||
-rw-r--r-- | src/test/test_policy.c | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index 461aa646d6..e8bfe9e12e 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -43,6 +43,7 @@ #include "statefile.h" #include "test_helpers.h" +#include "port_cfg_st.h" static void test_config_addressmap(void *arg) diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 0106e40d97..538fb8db15 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -44,6 +44,8 @@ #include "log_test_helpers.h" #include "voting_schedule.h" +#include "port_cfg_st.h" + #define NS_MODULE dir static void diff --git a/src/test/test_policy.c b/src/test/test_policy.c index e89d49aaf5..e55452d3e4 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -10,6 +10,8 @@ #include "policies.h" #include "test.h" +#include "port_cfg_st.h" + /* Helper: assert that short_policy parses and writes back out as itself, or as <b>expected</b> if that's provided. */ static void |