summaryrefslogtreecommitdiffstats
path: root/libc/inet/inet_net.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 04:03:33 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 04:03:33 +0000
commitcb6a88484ce0b5ffba2fe98a40e2d51f4af92eb8 (patch)
tree520f8e8d113184cfa7954ebd274564b8c255fa9a /libc/inet/inet_net.c
parente4461be66e2655058aef358b00050bc70ac72861 (diff)
downloaduClibc-alpine-cb6a88484ce0b5ffba2fe98a40e2d51f4af92eb8.tar.bz2
uClibc-alpine-cb6a88484ce0b5ffba2fe98a40e2d51f4af92eb8.tar.xz
Merge from trunk. Going pretty good so far. Kind of. Okay, not really.
Diffstat (limited to 'libc/inet/inet_net.c')
-rw-r--r--libc/inet/inet_net.c13
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)