Replace NULL macro defs with null.h include

This commit is contained in:
Arun Thomas
2010-07-22 10:03:31 +00:00
parent 62d44dc9ef
commit dbde088d98
12 changed files with 15 additions and 19 deletions

View File

@@ -7,8 +7,7 @@
#include <ansi.h>
#endif
/* The macros are NULL, EXIT_FAILURE, EXIT_SUCCESS, RAND_MAX, and MB_CUR_MAX.*/
#define NULL ((void *)0)
#include <sys/null.h>
#define EXIT_FAILURE 1 /* standard error return using exit() */
#define EXIT_SUCCESS 0 /* successful return using exit() */