summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/voting_schedule.h
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/feature/dirauth/voting_schedule.h
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/feature/dirauth/voting_schedule.h')
-rw-r--r--src/feature/dirauth/voting_schedule.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/feature/dirauth/voting_schedule.h b/src/feature/dirauth/voting_schedule.h
index e4c6210087..a3bb9cfd1d 100644
--- a/src/feature/dirauth/voting_schedule.h
+++ b/src/feature/dirauth/voting_schedule.h
@@ -56,9 +56,6 @@ extern voting_schedule_t voting_schedule;
void voting_schedule_recalculate_timing(const or_options_t *options,
time_t now);
-time_t voting_schedule_get_start_of_next_interval(time_t now,
- int interval,
- int offset);
time_t voting_schedule_get_next_valid_after_time(void);
#endif /* !defined(TOR_VOTING_SCHEDULE_H) */