diff options
author | Richard PALO <richard@NetBSD.org> | 2016-01-27 07:05:51 +0100 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2016-02-05 13:35:27 -0500 |
commit | 4870e0a7381ec2ec57437062574e6ddc3dd48d7f (patch) | |
tree | 568fba5e7a35ab3e73daf7ba543476e0d200ec28 /usr/src/ucbhead/stdio.h | |
parent | 1c0cef67dba05c477dba779bc99224693e809a14 (diff) | |
download | illumos-joyent-4870e0a7381ec2ec57437062574e6ddc3dd48d7f.tar.gz |
6582 initial reorg adding sys/null.h for 5218
6487 clean up __STDC__ ifdefs in rpcsvc/dbm.h
6563 fmtmsg.h should be simplified and neither define NULL nor _NULL
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Robert Mustacci <rm@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/ucbhead/stdio.h')
-rw-r--r-- | usr/src/ucbhead/stdio.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/ucbhead/stdio.h b/usr/src/ucbhead/stdio.h index dd6cc3bce9..1ba873295e 100644 --- a/usr/src/ucbhead/stdio.h +++ b/usr/src/ucbhead/stdio.h @@ -48,6 +48,7 @@ #include <sys/va_list.h> #include <stdio_tag.h> #include <stdio_impl.h> +#include <sys/null.h> #ifdef __cplusplus extern "C" { @@ -77,10 +78,6 @@ typedef long ssize_t; typedef long fpos_t; -#ifndef NULL -#define NULL 0 -#endif - #define BUFSIZ 1024 #if defined(__i386) |