Module Name: src
Committed By: rillig
Date: Fri Jan 1 11:14:06 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: func.c
Log Message:
lint: complete message 203 for case labels
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/xlint/lint1/func.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/lint1/func.c
diff -u src/usr.bin/xlint/lint1/func.c:1.44 src/usr.bin/xlint/lint1/func.c:1.45
--- src/usr.bin/xlint/lint1/func.c:1.44 Fri Jan 1 11:09:40 2021
+++ src/usr.bin/xlint/lint1/func.c Fri Jan 1 11:14:06 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: func.c,v 1.44 2021/01/01 11:09:40 rillig Exp $ */
+/* $NetBSD: func.c,v 1.45 2021/01/01 11:14:06 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: func.c,v 1.44 2021/01/01 11:09:40 rillig Exp $");
+__RCSID("$NetBSD: func.c,v 1.45 2021/01/01 11:14:06 rillig Exp $");
#endif
#include <stdlib.h>
@@ -451,7 +451,7 @@ check_case_label(tnode_t *tn, cstk_t *ci
if (t == LONG || t == ULONG ||
t == QUAD || t == UQUAD) {
if (tflag)
- /* case label must be of type ... */
+ /* case label must be of type `int' in traditional C */
warning(203);
}