summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-03 18:38:03 +0000
committerYang Tse <yangsita@gmail.com>2006-07-03 18:38:03 +0000
commit43369b8096d14950f73a92126c4c5ba0bac4cd4a (patch)
treec273c97896690a282c97c49f238f374baa6f4717 /lib/hostip.h
parentbec1977137fcb279686212279e2830db11cd0759 (diff)
downloadcurl-43369b8096d14950f73a92126c4c5ba0bac4cd4a.tar.gz
Fix compiler warning.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 7053434ba..3b8f8ce15 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -196,9 +196,11 @@ int curl_dogetaddrinfo(char *hostname, char *service,
struct addrinfo *hints,
struct addrinfo **result,
int line, const char *source);
-int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen,
- char *host, size_t hostlen,
- char *serv, size_t servlen, int flags,
+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