summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-07-10 11:07:27 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-07-10 11:07:27 +0000
commiteaefb727e8150a533db152661918e42fa6fa208c (patch)
treebd4225cb82a98b08e4796a8759302652af064ea7
parentb1ca69d62897f8b98b9e12832f1e9a61c181f658 (diff)
ANSI C does not like labels: without a statement after that.
Restore missing breaks.
-rw-r--r--sys/arch/i386/i386/bios.c3
-rw-r--r--sys/compat/ibcs2/ibcs2_misc.c3
-rw-r--r--sys/dev/pci/ahc_pci.c3
-rw-r--r--sys/dev/wscons/wsdisplay.c3
-rw-r--r--sys/dev/wscons/wsemul_vt100_subr.c3
5 files changed, 10 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 794705890e0..507c0f28310 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.43 2001/05/05 23:25:34 art Exp $ */
+/* $OpenBSD: bios.c,v 1.44 2001/07/10 11:07:26 espie Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
@@ -344,6 +344,7 @@ bios_getopt()
printf(" unsupported arg (%d) %p", q->ba_type,
q->ba_arg);
#endif
+ break;
}
}
printf("\n");
diff --git a/sys/compat/ibcs2/ibcs2_misc.c b/sys/compat/ibcs2/ibcs2_misc.c
index 94313e9d47c..aaa99ab480e 100644
--- a/sys/compat/ibcs2/ibcs2_misc.c
+++ b/sys/compat/ibcs2/ibcs2_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_misc.c,v 1.17 2001/01/23 05:48:05 csapuntz Exp $ */
+/* $OpenBSD: ibcs2_misc.c,v 1.18 2001/07/10 11:07:25 espie Exp $ */
/* $NetBSD: ibcs2_misc.c,v 1.23 1997/01/15 01:37:49 perry Exp $ */
/*
@@ -1119,6 +1119,7 @@ ibcs2_sys_sysfs(p, v, retval)
case IBCS2_GETFSIND:
case IBCS2_GETFSTYP:
case IBCS2_GETNFSTYP:
+ break;
}
return EINVAL; /* XXX - TODO */
}
diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c
index a0fce90e82e..73d583710b5 100644
--- a/sys/dev/pci/ahc_pci.c
+++ b/sys/dev/pci/ahc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahc_pci.c,v 1.22 2001/06/12 15:40:29 niklas Exp $ */
+/* $OpenBSD: ahc_pci.c,v 1.23 2001/07/10 11:07:23 espie Exp $ */
/* $NetBSD: ahc_pci.c,v 1.9 1996/10/21 22:56:24 thorpej Exp $ */
/*
@@ -360,6 +360,7 @@ void *aux;
break;
default:
/* TTT */
+ break;
}
}
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index d966ea3261c..849c1996ee8 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.30 2001/06/29 20:16:22 mickey Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.31 2001/07/10 11:07:25 espie Exp $ */
/* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */
/*
@@ -2127,6 +2127,7 @@ motion_event(u_int type, int value)
mouse_zaxis(value);
break;
default:
+ break;
}
}
diff --git a/sys/dev/wscons/wsemul_vt100_subr.c b/sys/dev/wscons/wsemul_vt100_subr.c
index d96bfe77f88..a42781d9836 100644
--- a/sys/dev/wscons/wsemul_vt100_subr.c
+++ b/sys/dev/wscons/wsemul_vt100_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemul_vt100_subr.c,v 1.6 2001/04/14 04:48:01 aaron Exp $ */
+/* $OpenBSD: wsemul_vt100_subr.c,v 1.7 2001/07/10 11:07:25 espie Exp $ */
/* $NetBSD: wsemul_vt100_subr.c,v 1.7 2000/04/28 21:56:16 mycroft Exp $ */
/*
@@ -536,6 +536,7 @@ wsemul_vt100_handle_csi(edp, c)
#ifdef VT100_PRINTUNKNOWN
printf("CSI%dm unknown\n", ARG(n));
#endif
+ break;
}
}
if (vt100_selectattribute(edp, flags, fgcol, bgcol, &attr,