mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 15:23:27 +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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user