summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1/err.c
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2006-03-13 21:12:33 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2006-03-13 21:12:33 +0000
commit030cf20c38b6252d683b95e95e69ce1315f013b0 (patch)
treee6b6bd50ae9f09954b2cfb16a1eb862065cc3b94 /usr.bin/xlint/lint1/err.c
parent2bbf5c811672d5b0c39d5784c61dd91913e8e045 (diff)
Do not warn for functions declared with ARGSUSED
but having no arguments. ok deraadt@ cloder@
Diffstat (limited to 'usr.bin/xlint/lint1/err.c')
-rw-r--r--usr.bin/xlint/lint1/err.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/xlint/lint1/err.c b/usr.bin/xlint/lint1/err.c
index fc464fc6205..9f4d2ec613c 100644
--- a/usr.bin/xlint/lint1/err.c
+++ b/usr.bin/xlint/lint1/err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.c,v 1.19 2006/03/08 07:18:51 moritz Exp $ */
+/* $OpenBSD: err.c,v 1.20 2006/03/13 21:12:32 moritz 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.19 2006/03/08 07:18:51 moritz Exp $";
+static char rcsid[] = "$OpenBSD: err.c,v 1.20 2006/03/13 21:12:32 moritz Exp $";
#endif
/* number of errors found */
@@ -368,8 +368,7 @@ const char *msgs[] = {
"case ranges are illegal in ANSI C", /* 311 */
"suspicious operator for sizeof: %s", /* 312 */
"conversion of %s return value from '%s' to '%s'", /* 313 */
- "function %s declared with %s, but takes no arguments", /* 314 */
- "hexadecimal float constants are illegal in traditional C", /* 315 */
+ "hexadecimal float constants are illegal in traditional C", /* 314 */
};
/*