summaryrefslogtreecommitdiff
path: root/libc/inet/inet_net.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/inet/inet_net.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/inet/inet_net.c')
-rw-r--r--libc/inet/inet_net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c
index 29226c01a..59cf36022 100644
--- a/libc/inet/inet_net.c
+++ b/libc/inet/inet_net.c
@@ -36,12 +36,14 @@
#include <features.h>
#include <ctype.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
/*
* Internet network address interpretation routine.
* The library routines call this routine to interpret
* network numbers.
*/
+libc_hidden_proto(inet_network)
in_addr_t
inet_network(const char *cp)
{
@@ -98,5 +100,4 @@ again:
}
return (val);
}
-libc_hidden_proto(inet_network)
libc_hidden_def(inet_network)