diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-27 02:27:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-27 02:27:46 +0000 |
commit | ccd4b479dcec23c8b260ebf1de3df67014c778ce (patch) | |
tree | 848eaa036f9fc55acf2144cc3c01f57c51806f99 /inet | |
parent | 12b64309cfa2289e57d439ec9f2d645c59f7bcf1 (diff) | |
download | glibc-ccd4b479dcec23c8b260ebf1de3df67014c778ce.tar glibc-ccd4b479dcec23c8b260ebf1de3df67014c778ce.tar.gz glibc-ccd4b479dcec23c8b260ebf1de3df67014c778ce.tar.bz2 glibc-ccd4b479dcec23c8b260ebf1de3df67014c778ce.zip |
Update.
* conform/conformtest.pl: Implement optional-type.
* resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
<rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
defining uint32_t here. Define IPPORT_RESERVED.
(struct hostent): Type of h_length element is int.
(getnameinfo): Type of flags parameter is unsigned int.
* inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
* conform/data/netdb.h-data: Add many missing definitions.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/getnameinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c index 9d37786441..c83f2cc66f 100644 --- a/inet/getnameinfo.c +++ b/inet/getnameinfo.c @@ -166,7 +166,8 @@ nrl_domainname (void) int getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host, - socklen_t hostlen, char *serv, socklen_t servlen, int flags) + socklen_t hostlen, char *serv, socklen_t servlen, + unsigned int flags) { int serrno = errno; int tmpbuflen = 1024; |