summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-15 10:50:40 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-15 10:50:40 +0000
commit5c450ce8765cfb580e0e9cc9426009174ee85929 (patch)
tree6b88ecf25f8189330dccef9f90523a420d7e9279 /include/netdb.h
parent3dc1b0d4463753c3e4cc1ea6022f502c0fcf5e20 (diff)
correct type of 2nd argument to meet RFC2553. (this should raise no ABI
problem due to type promotion). PR 1228.
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 911d0cf7dbe..49b13260635 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netdb.h,v 1.9 2000/02/09 12:22:08 itojun Exp $ */
+/* $OpenBSD: netdb.h,v 1.10 2000/05/15 10:50:39 itojun Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -214,7 +214,7 @@ void setservent __P((int));
int getaddrinfo __P((const char *name, const char *service,
const struct addrinfo *req, struct addrinfo **pai));
void freeaddrinfo __P((struct addrinfo *ai));
-int getnameinfo __P((const struct sockaddr *sa, size_t addrlen,
+int getnameinfo __P((const struct sockaddr *sa, socklen_t addrlen,
char *host, size_t hostlen, char *serv, size_t servlen,
int flags));
char *gai_strerror __P((int ecode));