summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 65479536bc..abca6d4d50 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -737,7 +737,8 @@ void router_mark_as_down(const char *digest) {
* will either be inserted into the routerlist or freed. Returns 0 if the
* router was added; -1 if it was not.
*/
-int router_add_to_routerlist(routerinfo_t *router) {
+static int
+router_add_to_routerlist(routerinfo_t *router) {
int i;
routerinfo_t *r;
char id_digest[DIGEST_LEN];