diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-23 01:28:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-23 01:28:28 +0000 |
commit | 56a0a95d9345a865de215af619f42140d6060116 (patch) | |
tree | 75a2d11c510305964a3b6e532ac3ed5af0a2dbec /libc/inet/getaddrinfo.c | |
parent | c29987abda026392561644468022f4c1d3dfcc36 (diff) |
Ricard Wanderlof writes:
The following definitions in getaddrinfo.c seem redundant as they _are_
defined in the public netdb.h header, contrary to the comment. AI_DEFAULT
is not, however it is not used in the file either so can be safely
removed.
Diffstat (limited to 'libc/inet/getaddrinfo.c')
-rw-r--r-- | libc/inet/getaddrinfo.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c index 5395830b4..a701667c0 100644 --- a/libc/inet/getaddrinfo.c +++ b/libc/inet/getaddrinfo.c @@ -90,15 +90,6 @@ libc_hidden_proto(__h_errno_location) libc_hidden_proto(in6addr_loopback) #endif -/* The following declarations and definitions have been removed from - * the public header since we don't want people to use them. */ -#define AI_V4MAPPED 0x0008 /* IPv4-mapped addresses are acceptable. */ -#define AI_ALL 0x0010 /* Return both IPv4 and IPv6 addresses. */ -#define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose - returned address type. */ -#define AI_DEFAULT (AI_V4MAPPED | AI_ADDRCONFIG) - - #define GAIH_OKIFUNSPEC 0x0100 #define GAIH_EAI ~(GAIH_OKIFUNSPEC) |