#ifdef BRIDGE around a goto label used by the bridge code to silcence a

warning.
This commit is contained in:
peter 1999-05-09 23:24:47 +00:00
parent 6e38e6233f
commit 1b1bfd57f3
4 changed files with 12 additions and 4 deletions

View File

@ -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.
*/

View File

@ -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;

View File

@ -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.
*/

View File

@ -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;