NetBSD/usr.bin/xlint/lint2
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
..
Makefile
chk.c Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
emit2.c
externs2.h
hash.c Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
lint2.h
main2.c Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
mem2.c Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
msg.c Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
read.c Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00