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.
This commit is contained in:
kleink 2000-01-10 16:58:36 +00:00
parent f1feb4e600
commit 6f29805ef3
3 changed files with 6 additions and 6 deletions

View File

@ -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 @@ INCS= a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \
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 \

View File

@ -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 @@ typedef struct _dirdesc {
#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 */

View File

@ -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 @@ struct lconv {
char n_sign_posn;
};
#include <null.h>
#include <sys/null.h>
#define LC_ALL 0
#define LC_COLLATE 1