Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 lint: complete message 203 for case labels



details:   https://anonhg.NetBSD.org/src/rev/d5101e2cf4ce
branches:  trunk
changeset: 948806:d5101e2cf4ce
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Jan 01 11:14:06 2021 +0000

description:
lint: complete message 203 for case labels

diffstat:

 usr.bin/xlint/lint1/func.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 82797b4901ad -r d5101e2cf4ce usr.bin/xlint/lint1/func.c
--- a/usr.bin/xlint/lint1/func.c        Fri Jan 01 11:09:40 2021 +0000
+++ b/usr.bin/xlint/lint1/func.c        Fri Jan 01 11:14:06 2021 +0000
@@ -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 @@
        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);
        }
 



Home | Main Index | Thread Index | Old Index