diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-14 16:58:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-14 16:58:01 -0400 |
commit | 2a574d11ac8747996dcb979b04e38b16c5a0a9de (patch) | |
tree | 330e4f6498f095adf79927c537b1658f7c595c19 /src/test | |
parent | df9a3fe86f6dfabbe5ae777c3e60ec91edf09d23 (diff) | |
download | tor-2a574d11ac8747996dcb979b04e38b16c5a0a9de.tar.gz tor-2a574d11ac8747996dcb979b04e38b16c5a0a9de.zip |
Move dir_server_t into its own header.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_config.c | 2 | ||||
-rw-r--r-- | src/test/test_dir_handle_get.c | 2 | ||||
-rw-r--r-- | src/test/test_shared_random.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index e8bfe9e12e..2b761d2bae 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -43,6 +43,8 @@ #include "statefile.h" #include "test_helpers.h" + +#include "dir_server_st.h" #include "port_cfg_st.h" static void diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 688d26bdc1..4338bba657 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -34,6 +34,8 @@ #include "log_test_helpers.h" #include "voting_schedule.h" +#include "dir_server_st.h" + #ifdef _WIN32 /* For mkdir() */ #include <direct.h> diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c index f6ab0dfabd..baafb9813b 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -22,6 +22,8 @@ #include "shared_random_client.h" #include "voting_schedule.h" +#include "dir_server_st.h" + static authority_cert_t *mock_cert; static authority_cert_t * |