summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-01-14 09:25:31 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-01-14 09:25:31 +0000
commit97d12f9561178686da47ae63580ba21406f4b13c (patch)
tree1dce091f4df3bca640deb7bf02c8c3f38ec70660
parenta3e8a4d0bfc4351432d19e3b4532fb4b3c4b6989 (diff)
downloadFreeBSD-src-97d12f9561178686da47ae63580ba21406f4b13c.zip
FreeBSD-src-97d12f9561178686da47ae63580ba21406f4b13c.tar.gz
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.
-rw-r--r--usr.bin/xlint/xlint/xlint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index a341861..3735688 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 <sys/param.h>
@@ -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");
OpenPOWER on IntegriCloud