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/229c855a8242
branches:  trunk
changeset: 480386:229c855a8242
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Jan 10 16:58:36 2000 +0000

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

diffstat:

 include/Makefile |  4 ++--
 include/dirent.h |  4 ++--
 include/locale.h |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r ccec82310dcc -r 229c855a8242 include/Makefile
--- a/include/Makefile  Mon Jan 10 15:17:30 2000 +0000
+++ b/include/Makefile  Mon Jan 10 16:58:36 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.80 1999/12/22 21:26:16 kleink Exp $
+#      $NetBSD: Makefile,v 1.81 2000/01/10 16:58:37 kleink Exp $
 #      @(#)Makefile    8.2 (Berkeley) 1/4/94
 
 SRCTOP=        ..
@@ -13,7 +13,7 @@
        glob.h grp.h hesiod.h ieeefp.h iso646.h kvm.h langinfo.h libgen.h \
        limits.h link.h link_aout.h link_elf.h locale.h malloc.h math.h md4.h \
        memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
-       nsswitch.h null.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
+       nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
        resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
        stdio.h stdlib.h string.h strings.h stringlist.h struct.h sysexits.h \
        tar.h time.h ttyent.h tzfile.h ulimit.h unistd.h util.h utime.h \
diff -r ccec82310dcc -r 229c855a8242 include/dirent.h
--- a/include/dirent.h  Mon Jan 10 15:17:30 2000 +0000
+++ b/include/dirent.h  Mon Jan 10 16:58:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dirent.h,v 1.15 1999/12/22 21:26:17 kleink Exp $       */
+/*     $NetBSD: dirent.h,v 1.16 2000/01/10 16:58:37 kleink Exp $       */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -78,7 +78,7 @@
 #define DTF_REWIND     0x0004  /* rewind after reading union stack */
 #define __DTF_READALL  0x0008  /* everything has been read */
 
-#include <null.h>
+#include <sys/null.h>
 
 #endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE */
 
diff -r ccec82310dcc -r 229c855a8242 include/locale.h
--- a/include/locale.h  Mon Jan 10 15:17:30 2000 +0000
+++ b/include/locale.h  Mon Jan 10 16:58:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locale.h,v 1.8 1999/12/22 21:26:17 kleink Exp $        */
+/*     $NetBSD: locale.h,v 1.9 2000/01/10 16:58:37 kleink Exp $        */
 
 /*
  * Copyright (c) 1991, 1993
@@ -59,7 +59,7 @@
        char    n_sign_posn;
 };
 
-#include <null.h>
+#include <sys/null.h>
 
 #define        LC_ALL          0
 #define        LC_COLLATE      1



Home | Main Index | Thread Index | Old Index