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

@@ -15,9 +15,7 @@
#include "config.h"
#include "vi.h"
#include "ctype.h"
#ifndef NULL
#define NULL (char *)0
#endif
#include <sys/null.h>
extern char *getenv();
/* maximum width to permit for strings, including ="" */

View File

@@ -45,7 +45,6 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#undef NULL
#include <string.h>
#include <unistd.h>