stdio.h: use NULL definition from stddef.h
This commit is contained in:
parent
17832b2bed
commit
bea2c98a06
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
@ -31,11 +32,6 @@ extern "C"
|
||||||
|
|
||||||
#define EOF -1
|
#define EOF -1
|
||||||
|
|
||||||
/* NULL */
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL (void*)0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum stdio_directions
|
enum stdio_directions
|
||||||
{
|
{
|
||||||
STDIO_DIRECTION_BIOS,
|
STDIO_DIRECTION_BIOS,
|
||||||
|
|
Loading…
Reference in New Issue