Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net de-register



details:   https://anonhg.NetBSD.org/src/rev/370612b5c4ec
branches:  trunk
changeset: 494391:370612b5c4ec
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 06 02:57:23 2000 +0000

description:
de-register
use the proper types for vars

diffstat:

 lib/libc/net/inet_network.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5b26d3427767 -r 370612b5c4ec lib/libc/net/inet_network.c
--- a/lib/libc/net/inet_network.c       Thu Jul 06 02:56:55 2000 +0000
+++ b/lib/libc/net/inet_network.c       Thu Jul 06 02:57:23 2000 +0000
@@ -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 @@
 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;
 



Home | Main Index | Thread Index | Old Index