summaryrefslogtreecommitdiff
path: root/libc/inet/inet_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/inet_net.c')
-rw-r--r--libc/inet/inet_net.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c
index a7d1844a7..29226c01a 100644
--- a/libc/inet/inet_net.c
+++ b/libc/inet/inet_net.c
@@ -42,8 +42,8 @@
* The library routines call this routine to interpret
* network numbers.
*/
-in_addr_t attribute_hidden
-__inet_network(const char *cp)
+in_addr_t
+inet_network(const char *cp)
{
register in_addr_t val, base, n;
register char c;
@@ -98,4 +98,5 @@ again:
}
return (val);
}
-strong_alias(__inet_network,inet_network)
+libc_hidden_proto(inet_network)
+libc_hidden_def(inet_network)