aboutsummaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2002-11-21 07:03:25 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2002-11-21 07:03:25 +0000
commitac47326a5c217c337ad200c9af83578a02d8ad93 (patch)
treef9771f439eb1cfaa14bec95007eb2303a4c64fbc /libc/inet/resolv.c
parentde2abcca5af59ebc11f66fb6fb491e16f50c8166 (diff)
downloaduClibc-ac47326a5c217c337ad200c9af83578a02d8ad93.tar.gz
uClibc-ac47326a5c217c337ad200c9af83578a02d8ad93.tar.bz2
Cleanup use of in6addr_loopback and in6addr_any
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index e6ac9d9ce..0cc344399 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -933,14 +933,6 @@ struct hostent *gethostbyname(const char *name)
#ifdef L_gethostbyname2
-#ifdef __UCLIBC_HAS_IPV6__
-/* TBD: Not the right place for defining these, I guess */
-const struct in6_addr in6addr_any =
- { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } };
-const struct in6_addr in6addr_loopback =
- { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } };
-#endif /* __UCLIBC_HAS_IPV6__ */
-
struct hostent *gethostbyname2(const char *name, int family)
{
#ifndef __UCLIBC_HAS_IPV6__
@@ -1686,16 +1678,6 @@ int gethostbyname_r(const char * name,
#ifdef L_gethostbyname2_r
-#ifdef __UCLIBC_HAS_IPV6__
-/* TBD: Not the right place for defining these, I guess */
-/*
-const struct in6_addr in6addr_any =
- { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } };
-const struct in6_addr in6addr_loopback =
- { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } };
-*/
-#endif /* __UCLIBC_HAS_IPV6__ */
-
int gethostbyname2_r(const char *name, int family,
struct hostent * result_buf,
char * buf, size_t buflen,