changeset 14435:77e1808cbbb6

netdb: Simplify. * modules/netdb (Depends-on): Remove socklen, since sys_socket is documented to provide socklen_t and we already depend on sys_socket. * lib/netdb.in.h: Adjust comment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 19 Mar 2011 13:55:24 +0100
parents 7624b26aea3d
children ff4cf3c8b89b
files ChangeLog lib/netdb.in.h modules/netdb
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+            Bruno Haible  <bruno@clisp.org>
+
+	netdb: Simplify.
+	* modules/netdb (Depends-on): Remove socklen, since sys_socket is
+	documented to provide socklen_t and we already depend on sys_socket.
+	* lib/netdb.in.h: Adjust comment.
+
 2011-03-19  Bruno Haible  <bruno@clisp.org>
 
 	sys_socket, netdb: Document problem with socklen_t.
--- a/lib/netdb.in.h
+++ b/lib/netdb.in.h
@@ -37,7 +37,8 @@
 #ifndef _GL_NETDB_H
 #define _GL_NETDB_H
 
-/* Get netdb.h definitions such as struct hostent for MinGW.  */
+/* Get <netdb.h> definitions such as 'socklen_t' on IRIX 6.5 and OSF/1 4.0 and
+   'struct hostent' on MinGW.  */
 #include <sys/socket.h>
 
 /* The definition of _GL_ARG_NONNULL is copied here.  */
--- a/modules/netdb
+++ b/modules/netdb
@@ -10,7 +10,6 @@
 arg-nonnull
 warn-on-use
 sys_socket
-socklen
 
 configure.ac:
 gl_HEADER_NETDB