Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/xlint
Module Name: src
Committed By: rillig
Date: Mon Nov 1 19:48:51 UTC 2021
Modified Files:
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/common: lint.h
src/usr.bin/xlint/lint1: ckgetopt.c lint1.h tree.c
src/usr.bin/xlint/lint2: lint2.h
Log Message:
lint: enter full C90 compatibility mode
The C99 comment in tree.c:3468 has been there since 2017-03-06, without
anyone complaining that their compiler would not handle it.
Strangely, running GCC 10.3.0 in '-std=c90' mode does not complain about
declarations after statements, '-Wdeclaration-after-statement' is needed
separately.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/Makefile.inc
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/xlint/common/lint.h
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/xlint/lint1/ckgetopt.c
cvs rdiff -u -r1.129 -r1.130 src/usr.bin/xlint/lint1/lint1.h
cvs rdiff -u -r1.392 -r1.393 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/xlint/lint2/lint2.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