summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 13:23:02 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 13:23:02 -0400
commit72d2fd83d898c2a7151c7fdbbffbc4c25fe34894 (patch)
tree2d0a4945d054bb87e4f1a860de574c89e50aabc2 /src/test
parentd2942d127da454a1ffb69da176582b5d74918bb1 (diff)
downloadtor-72d2fd83d898c2a7151c7fdbbffbc4c25fe34894.tar.gz
tor-72d2fd83d898c2a7151c7fdbbffbc4c25fe34894.zip
Split vote_{microdesc_hash,routerstatus}_t into their own headers
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/fuzz_vrs.c3
-rw-r--r--src/test/test_dir.c2
-rw-r--r--src/test/test_dir_common.c3
-rw-r--r--src/test/test_guardfraction.c3
4 files changed, 11 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_vrs.c b/src/test/fuzz/fuzz_vrs.c
index baf0610a0b..7225fd5456 100644
--- a/src/test/fuzz/fuzz_vrs.c
+++ b/src/test/fuzz/fuzz_vrs.c
@@ -7,6 +7,9 @@
#include "memarea.h"
#include "microdesc.h"
#include "networkstatus.h"
+
+#include "vote_routerstatus_st.h"
+
#include "fuzzing.h"
static void
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 43fc5c5fb4..963d97a325 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -47,6 +47,8 @@
#include "port_cfg_st.h"
#include "tor_version_st.h"
+#include "vote_microdesc_hash_st.h"
+#include "vote_routerstatus_st.h"
#define NS_MODULE dir
diff --git a/src/test/test_dir_common.c b/src/test/test_dir_common.c
index 230410f7fa..4b36025b54 100644
--- a/src/test/test_dir_common.c
+++ b/src/test/test_dir_common.c
@@ -14,6 +14,9 @@
#include "test_dir_common.h"
#include "voting_schedule.h"
+#include "vote_microdesc_hash_st.h"
+#include "vote_routerstatus_st.h"
+
void dir_common_setup_vote(networkstatus_t **vote, time_t now);
networkstatus_t * dir_common_add_rs_and_parse(networkstatus_t *vote,
networkstatus_t **vote_out,
diff --git a/src/test/test_guardfraction.c b/src/test/test_guardfraction.c
index 51ca8f08ec..24bf58f942 100644
--- a/src/test/test_guardfraction.c
+++ b/src/test/test_guardfraction.c
@@ -15,6 +15,9 @@
#include "routerparse.h"
#include "networkstatus.h"
+#include "vote_microdesc_hash_st.h"
+#include "vote_routerstatus_st.h"
+
#include "test.h"
#include "test_helpers.h"
#include "log_test_helpers.h"