Source-Changes-HG archive

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

[src/trunk]: src/sys/net cosmetic; do not use register variable declaration. ...



details:   https://anonhg.NetBSD.org/src/rev/a488b0c6c643
branches:  trunk
changeset: 504029:a488b0c6c643
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Feb 20 07:53:31 2001 +0000

description:
cosmetic; do not use register variable declaration.  sync with kame

diffstat:

 sys/net/if_gif.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f842d851309c -r a488b0c6c643 sys/net/if_gif.c
--- a/sys/net/if_gif.c  Tue Feb 20 06:00:54 2001 +0000
+++ b/sys/net/if_gif.c  Tue Feb 20 07:53:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gif.c,v 1.20 2001/01/17 00:30:51 thorpej Exp $      */
+/*     $NetBSD: if_gif.c,v 1.21 2001/02/20 07:53:31 itojun Exp $       */
 /*     $KAME: if_gif.c,v 1.34 2000/10/07 03:58:53 itojun Exp $ */
 
 /*
@@ -264,7 +264,7 @@
        struct sockaddr *dst;
        struct rtentry *rt;     /* added in net2 */
 {
-       register struct gif_softc *sc = (struct gif_softc*)ifp;
+       struct gif_softc *sc = (struct gif_softc*)ifp;
        int error = 0;
        static int called = 0;  /* XXX: MUTEX */
 
@@ -350,7 +350,7 @@
        struct ifnet *gifp;
 {
        int s, isr;
-       register struct ifqueue *ifq = 0;
+       struct ifqueue *ifq = 0;
 
        if (gifp == NULL) {
                /* just in case */



Home | Main Index | Thread Index | Old Index