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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c
index b49a4b92d..74fa390ac 100644
--- a/libc/inet/inet_net.c
+++ b/libc/inet/inet_net.c
@@ -42,12 +42,12 @@
* The library routines call this routine to interpret
* network numbers.
*/
-u_int32_t
+in_addr_t
inet_network(const char *cp)
{
- register u_long val, base, n;
+ register in_addr_t val, base, n;
register char c;
- u_long parts[4], *pp = parts;
+ in_addr_t parts[4], *pp = parts;
register int i;
again: