]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
hostip.h: remove declaration of unimplemented function
authorMarc Aldorasi <marc@groundctl.com>
Tue, 18 May 2021 17:19:08 +0000 (13:19 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 18 May 2021 22:35:55 +0000 (00:35 +0200)
Closes #7094

lib/hostip.h

index c0fd3c8c462f53a5403641c91cd836935ae69ba5..d178976aa174743d48113e70edf23caa2241e20a 100644 (file)
@@ -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);