summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-03-11 11:32:55 +0000
committermarkm <markm@FreeBSD.org>2002-03-11 11:32:55 +0000
commit3be0ca68540cb5c26fce84dde487610fa305bbe2 (patch)
treef819dcabdbe8afa3c509720ad6526bd9a24c0e58 /usr.bin/xlint
parent6c291d8e3048d50b4d058696dd4ee71ae2bf460f (diff)
downloadFreeBSD-src-3be0ca68540cb5c26fce84dde487610fa305bbe2.zip
FreeBSD-src-3be0ca68540cb5c26fce84dde487610fa305bbe2.tar.gz
Try harder to lint without nonstandard stuff.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/xlint/xlint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index 8ec8169..1b10940 100644
--- a/usr.bin/xlint/xlint/xlint.c
+++ b/usr.bin/xlint/xlint/xlint.c
@@ -341,6 +341,7 @@ main(int argc, char *argv[])
appcstrg(&cflags, "-D__extension__(x)=/*NOSTRICT*/0");
#else
appcstrg(&cflags, "-U__GNUC__");
+ appcstrg(&cflags, "-undef");
#endif
appcstrg(&cflags, "-Wp,-$");
appcstrg(&cflags, "-Wp,-CC");
OpenPOWER on IntegriCloud