From 87e37dccb6fa8fe08724c497693458c25fa482c3 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 9 May 1999 23:24:47 +0000 Subject: #ifdef BRIDGE around a goto label used by the bridge code to silcence a warning. --- sys/dev/ed/if_ed.c | 4 +++- sys/dev/lnc/if_lnc.c | 4 +++- sys/i386/isa/if_ed.c | 4 +++- sys/i386/isa/if_lnc.c | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 29bb9d12fddf..8775aa87ce41 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.150 1999/03/17 16:44:51 luigi Exp $ + * $Id: if_ed.c,v 1.151 1999/04/16 21:22:20 peter Exp $ */ /* @@ -2803,7 +2803,9 @@ ed_get_packet(sc, buf, len, multicast) return; } +#ifdef BRIDGE getit: +#endif /* * Remove link layer address. */ diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index d5606ebfc1c5..f05866150252 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.58 1999/05/06 18:12:26 peter Exp $ + * $Id: if_lnc.c,v 1.59 1999/05/06 18:43:57 peter Exp $ */ /* @@ -645,7 +645,9 @@ lnc_rint(struct lnc_softc *sc) m_freem(head); else { +#ifdef BRIDGE getit: +#endif /* Skip over the ether header */ head->m_data += sizeof *eh; head->m_len -= sizeof *eh; diff --git a/sys/i386/isa/if_ed.c b/sys/i386/isa/if_ed.c index 29bb9d12fddf..8775aa87ce41 100644 --- a/sys/i386/isa/if_ed.c +++ b/sys/i386/isa/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.150 1999/03/17 16:44:51 luigi Exp $ + * $Id: if_ed.c,v 1.151 1999/04/16 21:22:20 peter Exp $ */ /* @@ -2803,7 +2803,9 @@ ed_get_packet(sc, buf, len, multicast) return; } +#ifdef BRIDGE getit: +#endif /* * Remove link layer address. */ diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index d5606ebfc1c5..f05866150252 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.58 1999/05/06 18:12:26 peter Exp $ + * $Id: if_lnc.c,v 1.59 1999/05/06 18:43:57 peter Exp $ */ /* @@ -645,7 +645,9 @@ lnc_rint(struct lnc_softc *sc) m_freem(head); else { +#ifdef BRIDGE getit: +#endif /* Skip over the ether header */ head->m_data += sizeof *eh; head->m_len -= sizeof *eh; -- cgit v1.3