diff options
author | Matthew Finkel <Matthew.Finkel@gmail.com> | 2015-05-27 08:28:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-18 13:14:10 -0500 |
commit | 21654ca7bd4ef7c7343af03670271e2b02535614 (patch) | |
tree | f0347165f544a8c413891772a997592b235e6056 /src/or/dirvote.c | |
parent | fb80a748eab12c246afc093801ea0b3c52543955 (diff) | |
download | tor-21654ca7bd4ef7c7343af03670271e2b02535614.tar.gz tor-21654ca7bd4ef7c7343af03670271e2b02535614.zip |
Let make_consensus_method_list be used in tests
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 0449e9d8d9..b61b33af79 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -54,7 +54,6 @@ static int dirvote_perform_vote(void); static void dirvote_clear_votes(int all_votes); static int dirvote_compute_consensuses(void); static int dirvote_publish_consensus(void); -static char *make_consensus_method_list(int low, int high, const char *sep); /* ===== * Voting @@ -564,7 +563,7 @@ consensus_method_is_supported(int method) /** Return a newly allocated string holding the numbers between low and high * (inclusive) that are supported consensus methods. */ -static char * +STATIC char * make_consensus_method_list(int low, int high, const char *separator) { char *list; |