Replace NULL macro defs with null.h include
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user