diff options
Diffstat (limited to 'lib/libc/net/inet_network.c')
-rw-r--r-- | lib/libc/net/inet_network.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/net/inet_network.c b/lib/libc/net/inet_network.c index 5e36f780693..7a7956ec836 100644 --- a/lib/libc/net/inet_network.c +++ b/lib/libc/net/inet_network.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: inet_network.c,v 1.8 2003/06/02 20:18:35 millert Exp $"; +static char rcsid[] = "$OpenBSD: inet_network.c,v 1.9 2005/03/25 13:24:12 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -42,13 +42,12 @@ static char rcsid[] = "$OpenBSD: inet_network.c,v 1.8 2003/06/02 20:18:35 miller * network numbers. */ in_addr_t -inet_network(cp) - register const char *cp; +inet_network(const char *cp) { - register in_addr_t val, base, n; - register char c; + in_addr_t val, base, n; + char c; in_addr_t parts[4], *pp = parts; - register int i; + int i; again: val = 0; base = 10; |