inet_ntop, inet_pton: Simplify.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2011 12:58:17 +0000 (13:58 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 19 Mar 2011 12:58:17 +0000 (13:58 +0100)
* modules/inet_ntop (Depends-on): Remove socklen, since sys_socket is
documented to provide socklen_t and we already depend on sys_socket.
* modules/inet_pton (Depends-on): Likewise.
* lib/arpa_inet.in.h: Adjust comment.

ChangeLog
lib/arpa_inet.in.h
modules/inet_ntop
modules/inet_pton

index e59e2b1..ca8525c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,15 @@
 2011-03-19  Paul Eggert  <eggert@cs.ucla.edu>
             Bruno Haible  <bruno@clisp.org>
 
+       inet_ntop, inet_pton: Simplify.
+       * modules/inet_ntop (Depends-on): Remove socklen, since sys_socket is
+       documented to provide socklen_t and we already depend on sys_socket.
+       * modules/inet_pton (Depends-on): Likewise.
+       * lib/arpa_inet.in.h: Adjust comment.
+
+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.
index 6533c8f..80dcb84 100644 (file)
@@ -27,8 +27,8 @@
 # include <features.h> /* for __GLIBC__ */
 #endif
 
-/* Gnulib's sys/socket.h is responsible for pulling in winsock2.h etc
-   under MinGW.
+/* Gnulib's sys/socket.h is responsible for defining socklen_t (used below) and
+   for pulling in winsock2.h etc. under MinGW.
    But avoid namespace pollution on glibc systems.  */
 #ifndef __GLIBC__
 # include <sys/socket.h>
index c6a1b80..3b00b62 100644 (file)
@@ -6,7 +6,6 @@ lib/inet_ntop.c
 m4/inet_ntop.m4
 
 Depends-on:
-socklen
 sys_socket
 arpa_inet
 errno
index 271d778..44c50b8 100644 (file)
@@ -7,7 +7,6 @@ m4/inet_pton.m4
 
 Depends-on:
 c-ctype
-socklen
 sys_socket
 arpa_inet
 errno