Subject: CVS commit: src/usr.bin/xlint
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/07/2005 16:28:40
Module Name:	src
Committed By:	christos
Date:		Thu Apr  7 16:28:40 UTC 2005

Modified Files:
	src/usr.bin/xlint/common: externs.h lint.h
	src/usr.bin/xlint/lint1: Makefile externs1.h lint1.h tree.c
	src/usr.bin/xlint/lint2: Makefile chk.c lint2.h msg.c
Added Files:
	src/usr.bin/xlint/common: tyname.c

Log Message:
Factor out tyname() so that it can be used both by lint1 and lint2.
Since type_t is different between lint1.h and lint2.h include the
appropriate file depending on the pass. Make the argument mismatch
error print the type names of the types involved. Now that we have
a tyname() function we can fix the rest of the pass2 warnings to be
more explanatory, but not now.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/usr.bin/xlint/common/externs.h
cvs rdiff -r1.8 -r1.9 src/usr.bin/xlint/common/lint.h
cvs rdiff -r0 -r1.1 src/usr.bin/xlint/common/tyname.c
cvs rdiff -r1.34 -r1.35 src/usr.bin/xlint/lint1/Makefile
cvs rdiff -r1.20 -r1.21 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -r1.16 -r1.17 src/usr.bin/xlint/lint1/lint1.h
cvs rdiff -r1.40 -r1.41 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -r1.15 -r1.16 src/usr.bin/xlint/lint2/Makefile
cvs rdiff -r1.17 -r1.18 src/usr.bin/xlint/lint2/chk.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/xlint/lint2/lint2.h
cvs rdiff -r1.8 -r1.9 src/usr.bin/xlint/lint2/msg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.