Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/xlint Define __LINT__, per XCU5.
details: https://anonhg.NetBSD.org/src/rev/d7b3e67115e5
branches: trunk
changeset: 476192:d7b3e67115e5
user: kleink <kleink%NetBSD.org@localhost>
date: Thu Sep 09 09:34:25 1999 +0000
description:
Define __LINT__, per XCU5.
diffstat:
usr.bin/xlint/xlint/xlint.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 02e182a513e4 -r d7b3e67115e5 usr.bin/xlint/xlint/xlint.c
--- a/usr.bin/xlint/xlint/xlint.c Thu Sep 09 09:30:40 1999 +0000
+++ b/usr.bin/xlint/xlint/xlint.c Thu Sep 09 09:34:25 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xlint.c,v 1.15 1999/09/07 02:36:57 jwise Exp $ */
+/* $NetBSD: xlint.c,v 1.16 1999/09/09 09:34:25 kleink Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: xlint.c,v 1.15 1999/09/07 02:36:57 jwise Exp $");
+__RCSID("$NetBSD: xlint.c,v 1.16 1999/09/09 09:34:25 kleink Exp $");
#endif
#include <sys/param.h>
@@ -343,6 +343,7 @@
appcstrg(&cflags, "-Wp,-$");
appcstrg(&cflags, "-Wp,-CC");
appcstrg(&cflags, "-Wcomment");
+ appcstrg(&cflags, "-D__LINT__");
appcstrg(&cflags, "-Dlint"); /* XXX don't def. with -s */
appdef(&cflags, "lint");
Home |
Main Index |
Thread Index |
Old Index