From 9d8c3df93ca0fad4f7766a997674c3502939cf30 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 2 Dec 2022 17:25:07 +0100 Subject: [PATCH] Assume NULL exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ISO C99 requires NULL. Link: Cc: Christian Göttsche Cc: Iker Pedrosa Cc: Mike Frysinger Signed-off-by: Alejandro Colomar --- lib/defines.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/defines.h b/lib/defines.h index 311bd7c4..1cfc537b 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -243,10 +243,6 @@ static inline void memzero(void *ptr, size_t size) #endif #endif -#ifndef NULL -#define NULL ((void *) 0) -#endif - #ifdef sun /* hacks for compiling on SunOS */ # ifndef SOLARIS extern char *strdup ();