From 6c347d4f36a0cb2086d09c9c777629d0737d49f2 Mon Sep 17 00:00:00 2001 From: Marc Aldorasi Date: Tue, 18 May 2021 13:19:08 -0400 Subject: [PATCH] hostip.h: remove declaration of unimplemented function Closes #7094 --- lib/hostip.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/hostip.h b/lib/hostip.h index c0fd3c8c46..d178976aa1 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -136,15 +136,6 @@ void Curl_hostcache_prune(struct Curl_easy *data); /* Return # of addresses in a Curl_addrinfo struct */ int Curl_num_addresses(const struct Curl_addrinfo *addr); -#if defined(CURLDEBUG) && defined(HAVE_GETNAMEINFO) -int curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa, - GETNAMEINFO_TYPE_ARG2 salen, - char *host, GETNAMEINFO_TYPE_ARG46 hostlen, - char *serv, GETNAMEINFO_TYPE_ARG46 servlen, - GETNAMEINFO_TYPE_ARG7 flags, - int line, const char *source); -#endif - /* IPv4 threadsafe resolve function used for synch and asynch builds */ struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port);