summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-12-18 00:59:51 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-12-18 00:59:51 +0000
commit9869849933c12ee9917e98a250d924565aff581d (patch)
tree3a54f41b8d3502002718079937c0b435404ac793 /include/string.h
parente479892a325a59ecd47aa81cf06a5bde81b5ee9d (diff)
Notes
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/string.h b/include/string.h
index 3580e8defde9..9a38656b2600 100644
--- a/include/string.h
+++ b/include/string.h
@@ -38,6 +38,7 @@
#define _STRING_H_
#include <sys/cdefs.h>
+#include <sys/_null.h>
#include <sys/_types.h>
/*
@@ -53,10 +54,6 @@ typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
-#ifndef NULL
-#define NULL 0
-#endif
-
__BEGIN_DECLS
#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
void *memccpy(void * __restrict, const void * __restrict, int, size_t);