aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_policy.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-20 10:51:19 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-20 10:51:19 -0500
commite3cf39cefd24e2cc0d70a1726ac19fc86e4e47e7 (patch)
tree8b695eef098951feab17cf6ae267be8dfcad08c5 /src/test/test_policy.c
parent35e886fe13a81b36c8a620f7046e6e9e6c088d01 (diff)
downloadtor-e3cf39cefd24e2cc0d70a1726ac19fc86e4e47e7.tar.gz
tor-e3cf39cefd24e2cc0d70a1726ac19fc86e4e47e7.zip
Fix compilation warnings
Diffstat (limited to 'src/test/test_policy.c')
-rw-r--r--src/test/test_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c
index 9ab3abe35a..4cf56c8b3a 100644
--- a/src/test/test_policy.c
+++ b/src/test/test_policy.c
@@ -826,7 +826,7 @@ test_dump_exit_policy_to_string(void *arg)
}
static routerinfo_t *mock_desc_routerinfo = NULL;
-const routerinfo_t *mock_router_get_my_routerinfo(void)
+static const routerinfo_t *mock_router_get_my_routerinfo(void)
{
return mock_desc_routerinfo;
}