From 9a063e5f4d017461968c789395a6dccab4d673bd Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 19 May 2000 05:04:32 +0000 Subject: [PATCH] Comment previous, suggested by Chris Demetriou. --- sys/sys/null.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/sys/null.h b/sys/sys/null.h index 4acefdea9df2..d8d793336c0b 100644 --- a/sys/sys/null.h +++ b/sys/sys/null.h @@ -1,8 +1,12 @@ -/* $NetBSD: null.h,v 1.2 2000/05/19 04:37:20 thorpej Exp $ */ +/* $NetBSD: null.h,v 1.3 2000/05/19 05:04:32 thorpej Exp $ */ #ifndef NULL #if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90) #ifdef __AUDIT__ +/* + * This will cause GCC to emit a warning if you attempt to use NULL + * with some non-pointer object, return value, etc. + */ #define NULL (void *)0 #else #define NULL 0