summaryrefslogtreecommitdiff
path: root/src/or/voting_schedule.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-05-01 11:18:44 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-05-01 11:43:23 -0400
commite504b1b35831e9d18be7b89ab471705b41092606 (patch)
treeacedbc4aa31c84266cfe4f6b98a8b85b95c977f1 /src/or/voting_schedule.h
parent711ff6cdf79c32921f587d389b6ac25630a39d80 (diff)
downloadtor-e504b1b35831e9d18be7b89ab471705b41092606.tar.gz
tor-e504b1b35831e9d18be7b89ab471705b41092606.zip
vote: Namespace functions in voting_schedule.c
Rename them from dirvote_* to voting_schedule_*. No code behavior change. Part of #25988 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/voting_schedule.h')
-rw-r--r--src/or/voting_schedule.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/or/voting_schedule.h b/src/or/voting_schedule.h
index b7c7f7ea93..cd45914db6 100644
--- a/src/or/voting_schedule.h
+++ b/src/or/voting_schedule.h
@@ -11,9 +11,6 @@
#include "or.h"
-/* Dirauth module. */
-#include "dirauth/dirvote.h"
-
/** Scheduling information for a voting interval. */
typedef struct {
/** When do we generate and distribute our vote for this interval? */
@@ -52,10 +49,10 @@ typedef struct {
extern voting_schedule_t voting_schedule;
-time_t dirvote_get_start_of_next_interval(time_t now,
- int interval,
- int offset);
-time_t dirvote_get_next_valid_after_time(void);
+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 /* TOR_VOTING_SCHEDULE_H */