mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
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.
This commit is contained in:
parent
750f9af619
commit
e10b8512ce
@ -1,3 +1,9 @@
|
||||
2000-04-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* resolv/netdb.h (getnameinfo): All lenght parameters are of type
|
||||
socklen_t.
|
||||
* inet/getnameinfo.c: Likewise.
|
||||
|
||||
2000-04-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* posix/unistd.h (socklen_t): Define if it has not yet happened.
|
||||
|
@ -166,7 +166,7 @@ nrl_domainname (void)
|
||||
|
||||
int
|
||||
getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host,
|
||||
size_t hostlen, char *serv, size_t servlen, int flags)
|
||||
socklen_t hostlen, char *serv, socklen_t servlen, int flags)
|
||||
{
|
||||
int serrno = errno;
|
||||
int tmpbuflen = 1024;
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user