diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-23 08:31:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-23 08:31:29 +0000 |
commit | c53edc0a40807d84e4ca637c44a33f9f6e10081f (patch) | |
tree | 5f4601ea16bd6f44a917db412a6ab80a10b8af4e | |
parent | 07290d2aff6f849a45fa4fe38742f7cdc32880f0 (diff) |
Do not pass -Wtraditional to cpp. If someone wants that, they can
force that in other ways. We want good lint messages, not cpp moaning
-rw-r--r-- | usr.bin/xlint/xlint/xlint.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index e983321fdc9..d14b4b42f24 100644 --- a/usr.bin/xlint/xlint/xlint.c +++ b/usr.bin/xlint/xlint/xlint.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xlint.c,v 1.19 2005/11/20 18:23:59 cloder Exp $ */ +/* $OpenBSD: xlint.c,v 1.20 2005/11/23 08:31:28 deraadt Exp $ */ /* $NetBSD: xlint.c,v 1.3 1995/10/23 14:29:30 jpo Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: xlint.c,v 1.19 2005/11/20 18:23:59 cloder Exp $"; +static char rcsid[] = "$OpenBSD: xlint.c,v 1.20 2005/11/23 08:31:28 deraadt Exp $"; #endif #include <sys/param.h> @@ -325,8 +325,6 @@ main(int argc, char *argv[]) appdef(&cppflags, "lint"); appdef(&cppflags, "unix"); - appcstrg(&lcppflgs, "-Wtraditional"); - if (uname(&un) == -1) err(1, "uname"); appdef(&cppflags, un.machine); |