summaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authormichaels <michaels@cvs.openbsd.org>1996-11-13 17:43:49 +0000
committermichaels <michaels@cvs.openbsd.org>1996-11-13 17:43:49 +0000
commita02e3de0ab6c57b162b64925cce455cbc3637568 (patch)
tree51802c7cd46347976c8d446939c445db9db204a1 /usr.bin/xlint
parent202e106fd27490124cc449cc6a7340476330dda5 (diff)
lint should pass on __OpenBSD__ rather than __NetBSD__.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/xlint/xlint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index 7964d647b88..17c3f465b8d 100644
--- a/usr.bin/xlint/xlint/xlint.c
+++ b/usr.bin/xlint/xlint/xlint.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xlint.c,v 1.3 1996/06/26 05:44:31 deraadt Exp $ */
+/* $OpenBSD: xlint.c,v 1.4 1996/11/13 17:43:48 michaels 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.3 1996/06/26 05:44:31 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: xlint.c,v 1.4 1996/11/13 17:43:48 michaels Exp $";
#endif
#include <sys/param.h>
@@ -326,7 +326,7 @@ main(argc, argv)
appcstrg(&cppflags, "-$");
appcstrg(&cppflags, "-C");
appcstrg(&cppflags, "-Wcomment");
- appcstrg(&cppflags, "-D__NetBSD__");
+ appcstrg(&cppflags, "-D__OpenBSD__");
appcstrg(&cppflags, "-Dlint"); /* XXX don't def. with -s */
appdef(&cppflags, "lint");
appdef(&cppflags, "unix");