From bea2c98a066f217e0392c29b5c9edc60929944e7 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 24 Oct 2021 02:21:17 +0200 Subject: [PATCH] stdio.h: use NULL definition from stddef.h --- libpsx/include/stdio.h | 6 +----- 1 file changed, 1 insertion(+), 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 #include +#include #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,