From e504b1b35831e9d18be7b89ab471705b41092606 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 1 May 2018 11:18:44 -0400 Subject: 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 --- src/or/voting_schedule.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/or/voting_schedule.h') 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 */ -- cgit v1.2.3-54-g00ecf