diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-04-20 17:39:09 +1000 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-04-28 12:26:38 +1000 |
commit | 05cf2867131eaa1dc017605f67cb7ac433ea263d (patch) | |
tree | e8794a2988b982dfc7777e999482b9e9f206eaa8 /src/test/test_policy.c | |
parent | 75dd2a285bbb7b65420eb8e37ab4f259b2aedf2c (diff) | |
download | tor-05cf2867131eaa1dc017605f67cb7ac433ea263d.tar.gz tor-05cf2867131eaa1dc017605f67cb7ac433ea263d.zip |
Make mock function static to prevent future clashes
Diffstat (limited to 'src/test/test_policy.c')
-rw-r--r-- | src/test/test_policy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c index 48e82551e3..a939ebf54f 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -716,10 +716,9 @@ test_policies_reject_exit_address(void *arg) } static smartlist_t *test_configured_ports = NULL; -const smartlist_t *mock_get_configured_ports(void); /** Returns test_configured_ports */ -const smartlist_t * +static const smartlist_t * mock_get_configured_ports(void) { return test_configured_ports; |