From: Alejandro Colomar Date: Fri, 2 Dec 2022 16:25:07 +0000 (+0100) Subject: Assume NULL exists X-Git-Tag: 4.14.0-rc1~304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8c3df93ca0fad4f7766a997674c3502939cf30;p=thirdparty%2Fshadow.git Assume NULL exists ISO C99 requires NULL. Link: Cc: Christian Göttsche Cc: Iker Pedrosa Cc: Mike Frysinger Signed-off-by: Alejandro Colomar --- diff --git a/lib/defines.h b/lib/defines.h index 311bd7c45..1cfc537be 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 ();