mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Make mock function static to prevent future clashes
This commit is contained in:
parent
75dd2a285b
commit
05cf286713
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user