about summary refs log tree commit diff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-01 21:36:43 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-01 21:36:43 -0400
commite4ecafe004b3d4270b3a9dace8f970047400ed38 (patch)
tree04be7cc5057d84b2b89a6acda3b859bb87fee2b5 /resolv/netdb.h
parent125ee683b3bfcd3868ffc29d5ee303433383312d (diff)
downloadglibc-e4ecafe004b3d4270b3a9dace8f970047400ed38.tar.gz
glibc-e4ecafe004b3d4270b3a9dace8f970047400ed38.tar.xz
glibc-e4ecafe004b3d4270b3a9dace8f970047400ed38.zip
Fix getnameinfo flags parameter type.
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 e60dc4405b..6b76a25d3f 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -1,4 +1,4 @@
-  /* Copyright (C) 1996-2004, 2009, 2010 Free Software Foundation, Inc.
+  /* Copyright (C) 1996-2004, 2009, 2010, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -679,7 +679,7 @@ extern __const char *gai_strerror (int __ecode) __THROW;
 extern int getnameinfo (__const struct sockaddr *__restrict __sa,
 			socklen_t __salen, char *__restrict __host,
 			socklen_t __hostlen, char *__restrict __serv,
-			socklen_t __servlen, unsigned int __flags);
+			socklen_t __servlen, int __flags);
 #endif	/* POSIX */
 
 #ifdef __USE_GNU