diff options
Diffstat (limited to 'libc/inet/resolv.c')
| -rw-r--r-- | libc/inet/resolv.c | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index 16802856e..10e25fb5c 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -180,47 +180,47 @@ __UCLIBC_MUTEX_EXTERN(__resolv_lock); /* libc_hidden_proto(strnlen) */ /* Experimentally off - libc_hidden_proto(strstr) */ /* Experimentally off - libc_hidden_proto(strcasecmp) */ -libc_hidden_proto(socket) +/* libc_hidden_proto(socket) */ /* libc_hidden_proto(close) */ -libc_hidden_proto(fopen) +/* libc_hidden_proto(fopen) */ /* libc_hidden_proto(fclose) */ -libc_hidden_proto(random) -libc_hidden_proto(getservbyport) -libc_hidden_proto(uname) -libc_hidden_proto(inet_addr) -libc_hidden_proto(inet_aton) -libc_hidden_proto(inet_pton) -libc_hidden_proto(inet_ntop) -libc_hidden_proto(connect) -libc_hidden_proto(poll) -libc_hidden_proto(select) -libc_hidden_proto(recv) -libc_hidden_proto(send) -libc_hidden_proto(printf) -libc_hidden_proto(sprintf) -libc_hidden_proto(snprintf) -libc_hidden_proto(fgets) -libc_hidden_proto(gethostbyname) -libc_hidden_proto(gethostbyname_r) -libc_hidden_proto(gethostbyname2_r) -libc_hidden_proto(gethostbyaddr) -libc_hidden_proto(gethostbyaddr_r) -libc_hidden_proto(ns_name_uncompress) -libc_hidden_proto(ns_name_unpack) -libc_hidden_proto(ns_name_ntop) -libc_hidden_proto(res_init) -libc_hidden_proto(res_query) -libc_hidden_proto(res_querydomain) -libc_hidden_proto(gethostent_r) +/* libc_hidden_proto(random) */ +/* libc_hidden_proto(getservbyport) */ +/* libc_hidden_proto(gethostname) */ +/* libc_hidden_proto(uname) */ +/* libc_hidden_proto(inet_addr) */ +/* libc_hidden_proto(inet_aton) */ +/* libc_hidden_proto(inet_pton) */ +/* libc_hidden_proto(inet_ntop) */ +/* libc_hidden_proto(connect) */ +/* libc_hidden_proto(poll) */ +/* libc_hidden_proto(select) */ +/* libc_hidden_proto(recv) */ +/* libc_hidden_proto(send) */ +/* libc_hidden_proto(printf) */ +/* libc_hidden_proto(sprintf) */ +/* libc_hidden_proto(snprintf) */ +/* libc_hidden_proto(fgets) */ +/* libc_hidden_proto(getnameinfo) */ +/* libc_hidden_proto(gethostbyname) */ +/* libc_hidden_proto(gethostbyname_r) */ +/* libc_hidden_proto(gethostbyname2_r) */ +/* libc_hidden_proto(gethostbyaddr) */ +/* libc_hidden_proto(gethostbyaddr_r) */ +/* libc_hidden_proto(ns_name_uncompress) */ +/* libc_hidden_proto(ns_name_unpack) */ +/* libc_hidden_proto(ns_name_ntop) */ +/* libc_hidden_proto(res_init) */ +/* libc_hidden_proto(res_query) */ +/* libc_hidden_proto(res_querydomain) */ +/* libc_hidden_proto(gethostent_r) */ /* libc_hidden_proto(fprintf) */ -libc_hidden_proto(__h_errno_location) +/* libc_hidden_proto(__h_errno_location) */ #ifdef __UCLIBC_HAS_XLOCALE__ /* libc_hidden_proto(__ctype_b_loc) */ #elif defined __UCLIBC_HAS_CTYPE_TABLES__ /* libc_hidden_proto(__ctype_b) */ #endif -int getdomainname(char *name, size_t len); -libc_hidden_proto(getdomainname) #define MAX_RECURSE 5 @@ -1180,6 +1180,7 @@ struct hostent *gethostbyname2(const char *name, int family) return hp; #endif /* __UCLIBC_HAS_IPV6__ */ } +libc_hidden_def(gethostbyname2) #endif @@ -1256,7 +1257,7 @@ void res_close(void) which can have an alias. */ struct __res_state _res __attribute__((section (".bss"))); #else -struct __res_state _res __attribute__((section (".bss"))) ;//attribute_hidden; +struct __res_state _res __attribute__((section (".bss"))) attribute_hidden; # if defined __UCLIBC_HAS_THREADS_NATIVE__ # undef __resp |
