diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-19 12:30:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-19 12:30:09 -0500 |
commit | defd941fe7f28264effffbbffb487ee4383ca2ba (patch) | |
tree | 421aaea8257ce12b741d5aa444b3404729ee5e91 /src/feature/relay/dns.c | |
parent | f739aa79620ad47051c4fd5f7e576899da7e80b5 (diff) | |
download | tor-defd941fe7f28264effffbbffb487ee4383ca2ba.tar.gz tor-defd941fe7f28264effffbbffb487ee4383ca2ba.zip |
Make dns_cancel_pending_resolve() STATIC.
It is not called by anything outside of the tests and dns.c.
Diffstat (limited to 'src/feature/relay/dns.c')
-rw-r--r-- | src/feature/relay/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c index 3ff1378df5..99f48ab2c2 100644 --- a/src/feature/relay/dns.c +++ b/src/feature/relay/dns.c @@ -1028,7 +1028,7 @@ connection_dns_remove(edge_connection_t *conn) * the resolve for <b>address</b> itself, and remove any cached results for * <b>address</b> from the cache. */ -MOCK_IMPL(void, +MOCK_IMPL(STATIC void, dns_cancel_pending_resolve,(const char *address)) { pending_connection_t *pend; |