mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Appease verbose gcc warning: make dirserv_compute_stable_uptime() static.
svn:r5792
This commit is contained in:
parent
284fe9cad5
commit
5c78c89471
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user