瀏覽代碼

Appease verbose gcc warning: make dirserv_compute_stable_uptime() static.

svn:r5792
Nick Mathewson 20 年之前
父節點
當前提交
5c78c89471
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/dirserv.c

+ 1 - 1
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
 /** Look through the routerlist, and assign the median uptime
  * of running verified servers to stable_uptime. */
  * of running verified servers to stable_uptime. */
-void
+static void
 dirserv_compute_stable_uptime(routerlist_t *rl)
 dirserv_compute_stable_uptime(routerlist_t *rl)
 {
 {
   smartlist_t *uptimes = smartlist_create();
   smartlist_t *uptimes = smartlist_create();