# HG changeset patch # User Paul Eggert # Date 1300539324 -3600 # Node ID 77e1808cbbb6240a88e855e302b568f7c3898832 # Parent 7624b26aea3d43720c5f8e3d085d7b98c9258ddd 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-03-19 Paul Eggert + Bruno Haible + + 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 sys_socket, netdb: Document problem with socklen_t. diff --git a/lib/netdb.in.h b/lib/netdb.in.h --- 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 definitions such as 'socklen_t' on IRIX 6.5 and OSF/1 4.0 and + 'struct hostent' on MinGW. */ #include /* The definition of _GL_ARG_NONNULL is copied here. */ diff --git a/modules/netdb b/modules/netdb --- a/modules/netdb +++ b/modules/netdb @@ -10,7 +10,6 @@ arg-nonnull warn-on-use sys_socket -socklen configure.ac: gl_HEADER_NETDB