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

@@ -9,11 +9,10 @@ by VirtualPC 2007
Created: 09/01/2009 Nicolas Tittley (first.last @ gmail DOT com)
*/
#include <sys/null.h>
#define DE_FKEY 8 /* Shitf+ this value will dump info on console */
#undef NULL
#define NULL ((void *)0)
#define NOT(x) (~(x))
#if debug == 1

View File

@@ -31,6 +31,8 @@
** Initial revision for Minix 3.0.6
*/
#include <sys/null.h>
#undef ENABLE_3C501
#undef ENABLE_3C503
#undef ENABLE_3C509
@@ -47,8 +49,6 @@
#define ENABLE_DP8390 (ENABLE_3C503|ENABLE_WDETH|ENABLE_NE2000)
#define HAVE_BUFFERS (ENABLE_3C501|ENABLE_3C509)
#undef NULL
#define NULL ((void *)0)
#define NOT(x) (~(x))
#if debug == 1