|
@@ -933,14 +933,6 @@ struct hostent *gethostbyname(const char *name)
|
|
|
|
|
|
#ifdef L_gethostbyname2
|
|
|
|
|
|
-#ifdef __UCLIBC_HAS_IPV6__
|
|
|
-
|
|
|
-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
|
|
|
-
|
|
|
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__
|
|
|
-
|
|
|
-
|
|
|
-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
|
|
|
-
|
|
|
int gethostbyname2_r(const char *name, int family,
|
|
|
struct hostent * result_buf,
|
|
|
char * buf, size_t buflen,
|