From e3db307cf3b585817e2d7aa161f8d4e075e416f8 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sun, 27 Jul 2008 03:49:30 +0000 Subject: [PATCH] Staticize ether_input --- sys/net/if_ethersubr.c | 4 ++-- sys/net/if_var.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index f9ecc7cbc8..7389714f71 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -32,7 +32,7 @@ * * @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93 * $FreeBSD: src/sys/net/if_ethersubr.c,v 1.70.2.33 2003/04/28 15:45:53 archie Exp $ - * $DragonFly: src/sys/net/if_ethersubr.c,v 1.79 2008/07/27 02:52:36 sephe Exp $ + * $DragonFly: src/sys/net/if_ethersubr.c,v 1.80 2008/07/27 03:49:30 sephe Exp $ */ #include "opt_atalk.h" @@ -668,7 +668,7 @@ ether_input_chain(struct ifnet *ifp, struct mbuf *m, struct mbuf_chain *chain) ether_demux_chain(ifp, m, chain); } -void +static void ether_input(struct ifnet *ifp, struct mbuf *m) { ether_input_chain(ifp, m, NULL); diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 6825552ebf..bcce45fcd5 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -32,7 +32,7 @@ * * From: @(#)if.h 8.1 (Berkeley) 6/10/93 * $FreeBSD: src/sys/net/if_var.h,v 1.18.2.16 2003/04/15 18:11:19 fjoe Exp $ - * $DragonFly: src/sys/net/if_var.h,v 1.61 2008/06/29 22:22:17 corecode Exp $ + * $DragonFly: src/sys/net/if_var.h,v 1.62 2008/07/27 03:49:30 sephe Exp $ */ #ifndef _NET_IF_VAR_H_ @@ -536,7 +536,6 @@ void ether_ifattach(struct ifnet *, uint8_t *, struct lwkt_serialize *); void ether_ifattach_bpf(struct ifnet *, uint8_t *, u_int, u_int, struct lwkt_serialize *); void ether_ifdetach(struct ifnet *); -void ether_input(struct ifnet *, struct mbuf *); void ether_input_chain(struct ifnet *, struct mbuf *, struct mbuf_chain *); #ifdef ETHER_INPUT2 void ether_input_oncpu(struct ifnet *, struct mbuf *); -- 2.11.4.GIT