Source-Changes-HG archive

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

[src/trunk]: src/include Move <null.h> to <sys/null.h> for the purpose of avo...



details:   https://anonhg.NetBSD.org/src/rev/4097a6d8a7ac
branches:  trunk
changeset: 480387:4097a6d8a7ac
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Jan 10 16:58:37 2000 +0000

description:
Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
td C headers including it, and a kernel module written in C++ would benfit
as well.

diffstat:

 include/null.h |  9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diffs (13 lines):

diff -r 229c855a8242 -r 4097a6d8a7ac include/null.h
--- a/include/null.h    Mon Jan 10 16:58:36 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-/*     $NetBSD: null.h,v 1.1 1999/12/22 21:26:17 kleink Exp $  */
-
-#ifndef        NULL
-#if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
-#define        NULL    0
-#else
-#define        NULL    __null
-#endif
-#endif



Home | Main Index | Thread Index | Old Index