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
|
* Copyright (c) 1983, 1993
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
|
||||||
#else
|
#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
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
|
@ -63,8 +63,9 @@ u_long
|
||||||
inet_network(cp)
|
inet_network(cp)
|
||||||
register const char *cp;
|
register const char *cp;
|
||||||
{
|
{
|
||||||
register u_long val, base, n, i;
|
u_long val, base;
|
||||||
register char c;
|
size_t i, n;
|
||||||
|
char c;
|
||||||
u_long parts[4], *pp = parts;
|
u_long parts[4], *pp = parts;
|
||||||
int digit;
|
int digit;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue