summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1/err.c
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-11-23 22:25:38 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-11-23 22:25:38 +0000
commit76264b8254f001c6f7320acf405abb71b5d7106c (patch)
treed1799e9288eac9c875bd847d0cb1cfd86b4ec082 /usr.bin/xlint/lint1/err.c
parent37c4506f5384e1dea0e42bc3f1dcca2b2a25ca31 (diff)
Deal somewhat with case ranges, which is a gcc extension.
"fine" deraadt, with his suggested modifications
Diffstat (limited to 'usr.bin/xlint/lint1/err.c')
-rw-r--r--usr.bin/xlint/lint1/err.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/xlint/lint1/err.c b/usr.bin/xlint/lint1/err.c
index b54d7475cb8..c7267d39352 100644
--- a/usr.bin/xlint/lint1/err.c
+++ b/usr.bin/xlint/lint1/err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.c,v 1.10 2005/11/23 00:12:13 cloder Exp $ */
+/* $OpenBSD: err.c,v 1.11 2005/11/23 22:25:37 cloder Exp $ */
/* $NetBSD: err.c,v 1.8 1995/10/02 17:37:00 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: err.c,v 1.10 2005/11/23 00:12:13 cloder Exp $";
+static char rcsid[] = "$OpenBSD: err.c,v 1.11 2005/11/23 22:25:37 cloder Exp $";
#endif
/* number of errors found */
@@ -364,6 +364,7 @@ const char *msgs[] = {
"", /* 308 */
"extra bits set to 0 in conversion of '%s' to '%s', op %s", /* 309 */
"right shift of %d-bit quantity by %d bits", /* 310 */
+ "case ranges are illegal in ANSI C", /* 311 */
};
/*