Module Name: src Committed By: rillig Date: Sat Apr 10 18:36:28 UTC 2021
Modified Files: src/usr.bin/xlint/common: lint.h tyname.c src/usr.bin/xlint/lint1: Makefile lint1.h src/usr.bin/xlint/lint2: Makefile lint2.h Log Message: lint: use distinct struct tags for type_t in lint1 and lint2 Having two similar but still different definitions of 'struct type' is unnecessarily confusing. Exchange this confusion for 8 lines of straight-forward preprocessing code. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/xlint/common/lint.h cvs rdiff -u -r1.38 -r1.39 src/usr.bin/xlint/common/tyname.c cvs rdiff -u -r1.66 -r1.67 src/usr.bin/xlint/lint1/Makefile cvs rdiff -u -r1.93 -r1.94 src/usr.bin/xlint/lint1/lint1.h cvs rdiff -u -r1.18 -r1.19 src/usr.bin/xlint/lint2/Makefile cvs rdiff -u -r1.13 -r1.14 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.