about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-02 08:26:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-02 08:26:29 +0000
commite10b8512ce40cfb9f706e40edc7ed0ebdd151471 (patch)
treee3ae1af17d9d5ac7c895a7066a96ca07ee371fe9 /resolv
parent750f9af6199e4a76e04c819b25dfcb58cf779b60 (diff)
downloadglibc-e10b8512ce40cfb9f706e40edc7ed0ebdd151471.tar.gz
glibc-e10b8512ce40cfb9f706e40edc7ed0ebdd151471.tar.xz
glibc-e10b8512ce40cfb9f706e40edc7ed0ebdd151471.zip
Update.
2000-04-02  Ulrich Drepper  <drepper@redhat.com>

	* resolv/netdb.h (getnameinfo): All lenght parameters are of type
	socklen_t.
	* inet/getnameinfo.c: Likewise.
Diffstat (limited to 'resolv')
-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 */