aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_voting_schedule.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-24 10:04:01 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-24 10:04:01 -0500
commitb7ba558f56da643857884761f6a52262c7aa51b8 (patch)
treee6e09605b3c98de2228ea0e49076f399257e717e /src/test/test_voting_schedule.c
parente1cf10ceb7b742b5028ff4f5cfbf2b2e67572c06 (diff)
downloadtor-b7ba558f56da643857884761f6a52262c7aa51b8.tar.gz
tor-b7ba558f56da643857884761f6a52262c7aa51b8.zip
Move one voting schedule fn into networkstatus.c
The 'voting_schdule_get_start_of_next_interval' function isn't actually dirauth-specific.
Diffstat (limited to 'src/test/test_voting_schedule.c')
-rw-r--r--src/test/test_voting_schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_voting_schedule.c b/src/test/test_voting_schedule.c
index 843965568d..51e2b9b184 100644
--- a/src/test/test_voting_schedule.c
+++ b/src/test/test_voting_schedule.c
@@ -5,6 +5,7 @@
#include "core/or/or.h"
#include "feature/dirauth/voting_schedule.h"
+#include "feature/nodelist/networkstatus.h"
#include "test/test.h"
@@ -61,4 +62,3 @@ struct testcase_t voting_schedule_tests[] = {
VS(interval_start, 0),
END_OF_TESTCASES
};
-