summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/i386/include/stddef.h2
-rw-r--r--src/northbridge/amd/amdht/porting.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/arch/i386/include/stddef.h b/src/arch/i386/include/stddef.h
index 6583cc62ef..e4fc019c87 100644
--- a/src/arch/i386/include/stddef.h
+++ b/src/arch/i386/include/stddef.h
@@ -8,9 +8,7 @@ typedef long ssize_t;
typedef int wchar_t;
typedef unsigned int wint_t;
-#ifndef NULL
#define NULL ((void *)0)
-#endif
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
diff --git a/src/northbridge/amd/amdht/porting.h b/src/northbridge/amd/amdht/porting.h
index 0792480da4..b468ded698 100644
--- a/src/northbridge/amd/amdht/porting.h
+++ b/src/northbridge/amd/amdht/porting.h
@@ -77,10 +77,6 @@ void CALLCONV AmdPCIWrite(SBDFO loc, uint32 *Value);
void CALLCONV AmdCPUIDRead(uint32 Address, uint32 Regs[4]);
void CALLCONV ErrorStop(uint32 Value);
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
#define BYTESIZE 1
#define WORDSIZE 2
#define DWORDSIZE 4