diff options
Diffstat (limited to 'libc/inet/inet_net.c')
-rw-r--r-- | libc/inet/inet_net.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c index a7d1844a7..64c6c3e84 100644 --- a/libc/inet/inet_net.c +++ b/libc/inet/inet_net.c @@ -36,14 +36,21 @@ #include <features.h> #include <ctype.h> #include <netinet/in.h> +#include <arpa/inet.h> +#ifdef __UCLIBC_HAS_XLOCALE__ +libc_hidden_proto(__ctype_b_loc) +#else +libc_hidden_proto(__ctype_b) +#endif /* * Internet network address interpretation routine. * The library routines call this routine to interpret * network numbers. */ -in_addr_t attribute_hidden -__inet_network(const char *cp) +libc_hidden_proto(inet_network) +in_addr_t +inet_network(const char *cp) { register in_addr_t val, base, n; register char c; @@ -98,4 +105,4 @@ again: } return (val); } -strong_alias(__inet_network,inet_network) +libc_hidden_def(inet_network) |