diff options
| author | kleink <kleink@NetBSD.org> | 2000-01-10 16:58:38 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2000-01-10 16:58:38 +0000 |
| commit | 1bba558e50dbdff564c024f3ddb0f7e59033a901 (patch) | |
| tree | 35143b71ebc6a086d07bea911e343411a9ca5e72 /include | |
| parent | 12aed170cd1b1682c4c554efaafbe9c19699b0f3 (diff) | |
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 (limited to 'include')
| -rw-r--r-- | include/stddef.h | 4 | ||||
| -rw-r--r-- | include/stdio.h | 4 | ||||
| -rw-r--r-- | include/stdlib.h | 4 | ||||
| -rw-r--r-- | include/string.h | 4 | ||||
| -rw-r--r-- | include/strings.h | 4 | ||||
| -rw-r--r-- | include/time.h | 4 | ||||
| -rw-r--r-- | include/unistd.h | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/include/stddef.h b/include/stddef.h index 0b3b84445b1..dce4a43a473 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -1,4 +1,4 @@ -/* $NetBSD: stddef.h,v 1.6 1999/12/22 21:26:18 kleink Exp $ */ +/* $NetBSD: stddef.h,v 1.7 2000/01/10 16:58:38 kleink Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -52,7 +52,7 @@ typedef _BSD_WCHAR_T_ wchar_t; #undef _BSD_WCHAR_T_ #endif -#include <null.h> +#include <sys/null.h> #define offsetof(type, member) ((size_t)(&((type *)0)->member)) diff --git a/include/stdio.h b/include/stdio.h index 64505234d88..136d97d09e1 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdio.h,v 1.31 1999/12/22 21:26:18 kleink Exp $ */ +/* $NetBSD: stdio.h,v 1.32 2000/01/10 16:58:38 kleink Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -54,7 +54,7 @@ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ #endif -#include <null.h> +#include <sys/null.h> /* * This is fairly grotesque, but pure ANSI code must not inspect the diff --git a/include/stdlib.h b/include/stdlib.h index 6c841a216fd..cc394590da1 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdlib.h,v 1.43 1999/12/22 21:26:19 kleink Exp $ */ +/* $NetBSD: stdlib.h,v 1.44 2000/01/10 16:58:38 kleink Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -77,7 +77,7 @@ typedef struct { #endif -#include <null.h> +#include <sys/null.h> #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 diff --git a/include/string.h b/include/string.h index e05a19f19d7..5243a5d3901 100644 --- a/include/string.h +++ b/include/string.h @@ -1,4 +1,4 @@ -/* $NetBSD: string.h,v 1.21 1999/12/22 21:26:19 kleink Exp $ */ +/* $NetBSD: string.h,v 1.22 2000/01/10 16:58:38 kleink Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -44,7 +44,7 @@ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ #endif -#include <null.h> +#include <sys/null.h> #include <sys/cdefs.h> #include <sys/featuretest.h> diff --git a/include/strings.h b/include/strings.h index cdf76bc73b4..25e60a59146 100644 --- a/include/strings.h +++ b/include/strings.h @@ -1,4 +1,4 @@ -/* $NetBSD: strings.h,v 1.7 1999/12/22 21:26:19 kleink Exp $ */ +/* $NetBSD: strings.h,v 1.8 2000/01/10 16:58:38 kleink Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -48,7 +48,7 @@ typedef _BSD_SIZE_T_ size_t; #endif #ifndef _XOPEN_SOURCE -#include <null.h> +#include <sys/null.h> #endif #include <sys/cdefs.h> diff --git a/include/time.h b/include/time.h index e4d2187feab..d5e50205902 100644 --- a/include/time.h +++ b/include/time.h @@ -1,4 +1,4 @@ -/* $NetBSD: time.h,v 1.23 1999/12/22 21:26:20 kleink Exp $ */ +/* $NetBSD: time.h,v 1.24 2000/01/10 16:58:38 kleink Exp $ */ /* * Copyright (c) 1989, 1993 @@ -48,7 +48,7 @@ #include <machine/ansi.h> #include <machine/limits.h> /* Include file containing CLK_TCK. */ -#include <null.h> +#include <sys/null.h> #ifdef _BSD_CLOCK_T_ typedef _BSD_CLOCK_T_ clock_t; diff --git a/include/unistd.h b/include/unistd.h index b4383158ea4..3705e79d263 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $NetBSD: unistd.h,v 1.79 1999/12/22 21:26:20 kleink Exp $ */ +/* $NetBSD: unistd.h,v 1.80 2000/01/10 16:58:38 kleink Exp $ */ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -88,7 +88,7 @@ #define STDOUT_FILENO 1 /* standard output file descriptor */ #define STDERR_FILENO 2 /* standard error file descriptor */ -#include <null.h> +#include <sys/null.h> __BEGIN_DECLS __dead void _exit __P((int)) __attribute__((__noreturn__)); |
