Make mock function static to prevent future clashes

This commit is contained in:
teor (Tim Wilson-Brown) 2016-04-20 17:39:09 +10:00
parent 75dd2a285b
commit 05cf286713

View File

@ -716,10 +716,9 @@ test_policies_reject_exit_address(void *arg)
} }
static smartlist_t *test_configured_ports = NULL; static smartlist_t *test_configured_ports = NULL;
const smartlist_t *mock_get_configured_ports(void);
/** Returns test_configured_ports */ /** Returns test_configured_ports */
const smartlist_t * static const smartlist_t *
mock_get_configured_ports(void) mock_get_configured_ports(void)
{ {
return test_configured_ports; return test_configured_ports;