Don't depend on gcc's feature of permitting labels that aren't followed

by a statement.
This commit is contained in:
Bruce Evans 1997-07-01 00:22:51 +00:00
parent 06daa05136
commit a24a66635c
9 changed files with 17 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/*-
* dgb.c $Id: dgb.c,v 1.25 1997/03/24 11:23:26 bde Exp $
* dgb.c $Id: dgb.c,v 1.26 1997/06/14 15:19:48 bde Exp $
*
* Digiboard driver.
*
@ -1414,7 +1414,7 @@ dgbpoll(unit_c)
ttwakeup(tp);
setwin(sc,0);
}
end_of_data:
end_of_data: ;
}
if(event & MODEMCHG_IND) {
@ -1533,7 +1533,7 @@ dgbpoll(unit_c)
setwin(sc,0);
}
}
end_of_buffer:
end_of_buffer: ;
}
bc->idata=1; /* require event on incoming data */

View File

@ -734,7 +734,7 @@ void ex_rx_intr(int unit)
else
ifp->if_ierrors++;
outw(iobase + HOST_ADDR_REG, sc->rx_head);
rx_another:
rx_another: ;
}
if (sc->rx_head < sc->rx_lower_limit + 2)
outw(iobase + RCV_STOP_REG, sc->rx_upper_limit);

View File

@ -666,7 +666,7 @@ repeat:
(tptr[0] |
rc_rcsrt[tptr[INPUT_FLAGS_SHIFT] & 0xF], tp);
}
done1:
done1: ;
}
if (rc->rc_flags & RC_DOXXFER) {
disable_intr();

View File

@ -1,5 +1,5 @@
/*-
* dgb.c $Id: dgb.c,v 1.25 1997/03/24 11:23:26 bde Exp $
* dgb.c $Id: dgb.c,v 1.26 1997/06/14 15:19:48 bde Exp $
*
* Digiboard driver.
*
@ -1414,7 +1414,7 @@ dgbpoll(unit_c)
ttwakeup(tp);
setwin(sc,0);
}
end_of_data:
end_of_data: ;
}
if(event & MODEMCHG_IND) {
@ -1533,7 +1533,7 @@ dgbpoll(unit_c)
setwin(sc,0);
}
}
end_of_buffer:
end_of_buffer: ;
}
bc->idata=1; /* require event on incoming data */

View File

@ -734,7 +734,7 @@ void ex_rx_intr(int unit)
else
ifp->if_ierrors++;
outw(iobase + HOST_ADDR_REG, sc->rx_head);
rx_another:
rx_another: ;
}
if (sc->rx_head < sc->rx_lower_limit + 2)
outw(iobase + RCV_STOP_REG, sc->rx_upper_limit);

View File

@ -666,7 +666,7 @@ repeat:
(tptr[0] |
rc_rcsrt[tptr[INPUT_FLAGS_SHIFT] & 0xF], tp);
}
done1:
done1: ;
}
if (rc->rc_flags & RC_DOXXFER) {
disable_intr();

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
* $Id: wd.c,v 1.129 1997/04/28 19:26:16 se Exp $
* $Id: wd.c,v 1.130 1997/05/27 18:28:08 se Exp $
*/
/* TODO:
@ -521,7 +521,8 @@ wdattach(struct isa_device *dvp)
#else
atapi_attach (dvp->id_unit, unit, dvp->id_iobase);
#endif
next: }
next: ;
}
#endif
/*
* Discard any interrupts generated by wdgetctlr(). wdflushirq()

View File

@ -33,7 +33,7 @@
*
* @(#)ipx_outputfl.c
*
* $Id: ipx_outputfl.c,v 1.7 1997/05/10 09:58:53 jhay Exp $
* $Id: ipx_outputfl.c,v 1.8 1997/06/26 19:35:51 jhay Exp $
*/
#include <sys/param.h>
@ -257,7 +257,7 @@ ipx_output_type20(m)
(struct sockaddr *)&dst, NULL);
/* XXX ipxstat.ipxs_localout++; */
}
skip_this:
skip_this: ;
}
bad:

View File

@ -43,7 +43,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: worm.c,v 1.40 1997/05/28 21:25:49 jmz Exp $
* $Id: worm.c,v 1.41 1997/06/02 20:05:37 jmz Exp $
*/
#include "opt_bounce.h"
@ -408,7 +408,7 @@ wormstart(unit, flags)
}
}
} /* go back and see if we can cram more work in.. */
badnews:
badnews: ;
}
static void