mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
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.
This commit is contained in:
committed by
Bruno Haible
parent
169c6370ea
commit
ed39fd9174
@@ -1,3 +1,12 @@
|
||||
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>
|
||||
|
||||
|
||||
+2
-2
@@ -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>
|
||||
|
||||
@@ -6,7 +6,6 @@ lib/inet_ntop.c
|
||||
m4/inet_ntop.m4
|
||||
|
||||
Depends-on:
|
||||
socklen
|
||||
sys_socket
|
||||
arpa_inet
|
||||
errno
|
||||
|
||||
@@ -7,7 +7,6 @@ m4/inet_pton.m4
|
||||
|
||||
Depends-on:
|
||||
c-ctype
|
||||
socklen
|
||||
sys_socket
|
||||
arpa_inet
|
||||
errno
|
||||
|
||||
Reference in New Issue
Block a user