From 570080640e94beeae38462564bb2ad0677efd3da Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Fri, 14 Jan 2000 09:25:31 +0000 Subject: [PATCH] Fix lint for the new cpp. Lint is still broken in other ways, but this at least allows the use of lint -i on single files again. Fiddled rcsid to satisfy commitprep.pl; the original NetBSD tag is still in the comments. --- usr.bin/xlint/xlint/xlint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index a341861f4558..3735688bb237 100644 --- a/usr.bin/xlint/xlint/xlint.c +++ b/usr.bin/xlint/xlint/xlint.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$NetBSD: xlint.c,v 1.3 1995/10/23 14:29:30 jpo Exp $"; +static char rcsid[] = "$FreeBSD$"; #endif #include @@ -321,7 +321,6 @@ main(argc, argv) libsrchpath = xcalloc(1, sizeof (char *)); appcstrg(&cppflags, "-lang-c"); - appcstrg(&cppflags, "-undef"); appcstrg(&cppflags, "-$"); appcstrg(&cppflags, "-C"); appcstrg(&cppflags, "-Wcomment");