[coreboot] [commit] r5540 - in trunk/src: arch/i386/include northbridge/amd/amdht
repository service
svn at coreboot.org
Sun May 9 23:44:53 CEST 2010
Author: oxygene
Date: Sun May 9 23:44:52 2010
New Revision: 5540
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5540
Log:
Remove extra NULL #define in amdht code. The
common one is enough. Trivial
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>
Modified:
trunk/src/arch/i386/include/stddef.h
trunk/src/northbridge/amd/amdht/porting.h
Modified: trunk/src/arch/i386/include/stddef.h
==============================================================================
--- trunk/src/arch/i386/include/stddef.h Sun May 9 23:15:13 2010 (r5539)
+++ trunk/src/arch/i386/include/stddef.h Sun May 9 23:44:52 2010 (r5540)
@@ -8,9 +8,7 @@
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)
Modified: trunk/src/northbridge/amd/amdht/porting.h
==============================================================================
--- trunk/src/northbridge/amd/amdht/porting.h Sun May 9 23:15:13 2010 (r5539)
+++ trunk/src/northbridge/amd/amdht/porting.h Sun May 9 23:44:52 2010 (r5540)
@@ -77,10 +77,6 @@
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
More information about the coreboot
mailing list