From 169c6370ea84d5e008159bd555becbba88c79b10 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 19 Mar 2011 13:55:24 +0100 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ lib/netdb.in.h | 3 ++- modules/netdb | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index da95af4f1..e59e2b108 100644 --- 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 index cdf07f208..d789e3422 100644 --- 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 index ea7dc63c1..9b95a6ecf 100644 --- a/modules/netdb +++ b/modules/netdb @@ -10,7 +10,6 @@ include_next arg-nonnull warn-on-use sys_socket -socklen configure.ac: gl_HEADER_NETDB -- 2.11.0