de-register
use the proper types for vars
This commit is contained in:
parent
b5835eb63b
commit
db34dc9efd
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: inet_network.c,v 1.11 2000/04/23 16:59:12 itojun Exp $ */
|
||||
/* $NetBSD: inet_network.c,v 1.12 2000/07/06 02:57:23 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: inet_network.c,v 1.11 2000/04/23 16:59:12 itojun Exp $");
|
||||
__RCSID("$NetBSD: inet_network.c,v 1.12 2000/07/06 02:57:23 christos Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -63,8 +63,9 @@ u_long
|
||||
inet_network(cp)
|
||||
register const char *cp;
|
||||
{
|
||||
register u_long val, base, n, i;
|
||||
register char c;
|
||||
u_long val, base;
|
||||
size_t i, n;
|
||||
char c;
|
||||
u_long parts[4], *pp = parts;
|
||||
int digit;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user