summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-01-11 03:59:55 +0000
committerNick Mathewson <nickm@torproject.org>2006-01-11 03:59:55 +0000
commit5c78c894717de19b045ff1c001321a300f97b5ad (patch)
tree378087fa15fcc74fd183251ad5e25d52ca37eaa8
parent284fe9cad522a75fa60aeb2cd511ac4a50499145 (diff)
downloadtor-5c78c894717de19b045ff1c001321a300f97b5ad.tar.gz
tor-5c78c894717de19b045ff1c001321a300f97b5ad.zip
Appease verbose gcc warning: make dirserv_compute_stable_uptime() static.
svn:r5792
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 097dad7e7d..1ba051585c 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1288,7 +1288,7 @@ _compare_longs(const void **a, const void **b)
/** Look through the routerlist, and assign the median uptime
* of running verified servers to stable_uptime. */
-void
+static void
dirserv_compute_stable_uptime(routerlist_t *rl)
{
smartlist_t *uptimes = smartlist_create();