Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Comment previous, suggested by Chris Demetriou.



details:   https://anonhg.NetBSD.org/src/rev/c7e54decd123
branches:  trunk
changeset: 486330:c7e54decd123
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 19 05:04:32 2000 +0000

description:
Comment previous, suggested by Chris Demetriou.

diffstat:

 sys/sys/null.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 2fbe011a0ef4 -r c7e54decd123 sys/sys/null.h
--- a/sys/sys/null.h    Fri May 19 04:56:48 2000 +0000
+++ b/sys/sys/null.h    Fri May 19 05:04:32 2000 +0000
@@ -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



Home | Main Index | Thread Index | Old Index