Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet some ANSIfying, and remove an unsightly tab



details:   https://anonhg.NetBSD.org/src/rev/48ad0fb2e671
branches:  trunk
changeset: 573639:48ad0fb2e671
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Feb 03 22:45:28 2005 +0000

description:
some ANSIfying, and remove an unsightly tab

diffstat:

 sys/netinet/ip_gre.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 459f54ce9868 -r 48ad0fb2e671 sys/netinet/ip_gre.c
--- a/sys/netinet/ip_gre.c      Thu Feb 03 22:43:34 2005 +0000
+++ b/sys/netinet/ip_gre.c      Thu Feb 03 22:45:28 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_gre.c,v 1.31 2005/02/02 21:41:55 perry Exp $ */
+/*     $NetBSD: ip_gre.c,v 1.32 2005/02/03 22:45:28 perry Exp $ */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_gre.c,v 1.31 2005/02/02 21:41:55 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_gre.c,v 1.32 2005/02/03 22:45:28 perry Exp $");
 
 #include "gre.h"
 #if NGRE > 0
@@ -104,7 +104,7 @@
 
 struct gre_softc *gre_lookup(struct mbuf *, u_int8_t);
 
-int    gre_input2(struct mbuf *, int, u_char);
+int gre_input2(struct mbuf *, int, u_char);
 
 /*
  * De-encapsulate a packet and feed it back through ip input (this
@@ -341,9 +341,7 @@
  * Find the gre interface associated with our src/dst/proto set.
  */
 struct gre_softc *
-gre_lookup(m, proto)
-       struct mbuf *m;
-       u_int8_t proto;
+gre_lookup(struct mbuf *m, u_int8_t proto)
 {
        struct ip *ip = mtod(m, struct ip *);
        struct gre_softc *sc;



Home | Main Index | Thread Index | Old Index