1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
2000-04-02  Ulrich Drepper  <drepper@redhat.com>

	* resolv/netdb.h (getnameinfo): All lenght parameters are of type
	socklen_t.
	* inet/getnameinfo.c: Likewise.
This commit is contained in:
Ulrich Drepper
2000-04-02 08:26:29 +00:00
parent 750f9af619
commit e10b8512ce
3 changed files with 9 additions and 3 deletions

View File

@@ -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 */