diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-09-06 18:16:03 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-09-06 18:16:03 +0000 |
commit | afb7f17e9677a446ee8901e93fbea079175d3106 (patch) | |
tree | e7789df4ce2409eec88ed29699c5f732253f2307 /sys/netinet | |
parent | 8775a5b27af9ae378077709867de8c9945a10f09 (diff) | |
download | FreeBSD-src-afb7f17e9677a446ee8901e93fbea079175d3106.zip FreeBSD-src-afb7f17e9677a446ee8901e93fbea079175d3106.tar.gz |
Reduce namespace pollution by staticizing everything, which doesn't need to
be visible from outside of the module.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_gre.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c index 4701e1f..c14e33c 100644 --- a/sys/netinet/ip_gre.c +++ b/sys/netinet/ip_gre.c @@ -100,9 +100,9 @@ __RCSID("@(#) $FreeBSD$"); void gre_inet_ntoa(struct in_addr in); /* XXX */ #endif -struct gre_softc *gre_lookup __P((struct mbuf *, u_int8_t)); +static struct gre_softc *gre_lookup __P((struct mbuf *, u_int8_t)); -int gre_input2 __P((struct mbuf *, int, u_char)); +static int gre_input2 __P((struct mbuf *, int, u_char)); /* * De-encapsulate a packet and feed it back through ip input (this @@ -146,7 +146,7 @@ gre_input(m, va_alist) * routine. */ -int +static int gre_input2(struct mbuf *m ,int hlen, u_char proto) { struct greip *gip = mtod(m, struct greip *); @@ -339,7 +339,7 @@ gre_mobile_input(m, va_alist) /* * Find the gre interface associated with our src/dst/proto set. */ -struct gre_softc * +static struct gre_softc * gre_lookup(m, proto) struct mbuf *m; u_int8_t proto; |