diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-02 03:02:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-02 03:02:17 +0000 |
commit | ad4dc7448257c229860206b078e02778bcb1b408 (patch) | |
tree | 823243e7bc13876a466176db862028402dd4526b /src/or/routerlist.c | |
parent | 85c79ffbc7b965355c3b51cc81000d517089e74e (diff) | |
download | tor-ad4dc7448257c229860206b078e02778bcb1b408.tar.gz tor-ad4dc7448257c229860206b078e02778bcb1b408.zip |
Use a stricter set of warnings; make them all pass.
svn:r2645
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 3 |
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]; |