aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/resolve.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-13 17:02:15 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-14 16:12:29 -0500
commiteaff47352a1ef607f6d97e9b35bd6d5eefdfcb26 (patch)
tree32aa0aa22fd6b7aa2f3ae158c0de24d2ff63c490 /src/lib/net/resolve.h
parente420154ce77d9169bc72c373bfc7e29cb7245723 (diff)
downloadtor-eaff47352a1ef607f6d97e9b35bd6d5eefdfcb26.tar.gz
tor-eaff47352a1ef607f6d97e9b35bd6d5eefdfcb26.zip
Make sure sandbox-related getaddrinfo() functions always exist.
Diffstat (limited to 'src/lib/net/resolve.h')
-rw-r--r--src/lib/net/resolve.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/net/resolve.h b/src/lib/net/resolve.h
index bf870c44c4..39157aaa67 100644
--- a/src/lib/net/resolve.h
+++ b/src/lib/net/resolve.h
@@ -42,7 +42,6 @@ int tor_getaddrinfo(const char *name, const char *servname,
struct addrinfo **res);
void tor_freeaddrinfo(struct addrinfo *addrinfo);
void tor_free_getaddrinfo_cache(void);
-void tor_make_getaddrinfo_cache_active(void);
#else /* !(defined(USE_SANDBOX_GETADDRINFO)) */
#define tor_getaddrinfo(name, servname, hints, res) \
getaddrinfo((name),(servname), (hints),(res))
@@ -54,5 +53,6 @@ void tor_make_getaddrinfo_cache_active(void);
#endif /* defined(USE_SANDBOX_GETADDRINFO) */
void sandbox_disable_getaddrinfo_cache(void);
+void tor_make_getaddrinfo_cache_active(void);
#endif