diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-10-24 02:21:17 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-10-24 02:21:17 +0200 |
| commit | bea2c98a066f217e0392c29b5c9edc60929944e7 (patch) | |
| tree | 79028273e2f929305cad44877075143d17a94948 | |
| parent | 17832b2bed76c4b5e6efd2b7d548d09a3be8783c (diff) | |
stdio.h: use NULL definition from stddef.h
| -rw-r--r-- | libpsx/include/stdio.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libpsx/include/stdio.h b/libpsx/include/stdio.h index 88e7afb..0ea5828 100644 --- a/libpsx/include/stdio.h +++ b/libpsx/include/stdio.h @@ -19,6 +19,7 @@ #include <stdarg.h> #include <stdbool.h> +#include <stddef.h> #ifdef __cplusplus extern "C" @@ -31,11 +32,6 @@ extern "C" #define EOF -1 -/* NULL */ -#ifndef NULL -#define NULL (void*)0 -#endif - enum stdio_directions { STDIO_DIRECTION_BIOS, |
