about summary refs log tree commit diff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 1f96351e36..70f507411a 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -479,8 +479,8 @@ extern char *gai_strerror (int __ecode) __THROW;
 /* Translate a socket address to a location and service name.  */
 extern int getnameinfo (__const struct sockaddr *__restrict __sa,
 			socklen_t __salen, char *__restrict __host,
-			size_t __hostlen, char *__restrict __serv,
-			size_t __servlen, int __flags) __THROW;
+			socklen_t __hostlen, char *__restrict __serv,
+			socklen_t __servlen, int __flags) __THROW;
 
 #endif	/* POSIX */