Assume NULL exists
ISO C99 requires NULL. Link: <https://github.com/shadow-maint/shadow/pull/600> Cc: Christian Göttsche <cgzones@googlemail.com> Cc: Iker Pedrosa <ipedrosa@redhat.com> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
3a32f5278d
commit
9d8c3df93c
@ -243,10 +243,6 @@ static inline void memzero(void *ptr, size_t size)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL ((void *) 0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef sun /* hacks for compiling on SunOS */
|
#ifdef sun /* hacks for compiling on SunOS */
|
||||||
# ifndef SOLARIS
|
# ifndef SOLARIS
|
||||||
extern char *strdup ();
|
extern char *strdup ();
|
||||||
|
Loading…
Reference in New Issue
Block a user