Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: rillig
Date: Tue Jun 16 05:27:58 UTC 2026
Modified Files:
src/tests/usr.bin/xlint/lint1: decl.c msg_062.c msg_343.c
src/usr.bin/xlint/lint1: decl.c func.c lint1.h
Log Message:
lint: warn about non-prototype function definition even without -h
There's nothing heuristic about function prototypes, so having this
warning conditional on -h doesn't make sense. But if there's an
identifier list in the function definition, don't warn, as that case is
already covered by message 384.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/tests/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.9 -r1.10 src/tests/usr.bin/xlint/lint1/msg_062.c
cvs rdiff -u -r1.11 -r1.12 src/tests/usr.bin/xlint/lint1/msg_343.c
cvs rdiff -u -r1.428 -r1.429 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.199 -r1.200 src/usr.bin/xlint/lint1/func.c
cvs rdiff -u -r1.240 -r1.241 src/usr.bin/xlint/lint1/lint1.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index