diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-24 04:30:32 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-24 04:30:32 +0000 |
commit | 67e66cd55cd4c7719306e65d538c40df1f295672 (patch) | |
tree | 9ddd978902668f16355a50c2c251b1eecd734307 /MdePkg/Include/Base.h | |
parent | 43025b293f476685df52c5c15126400acfc09c2a (diff) | |
download | edk2-platforms-67e66cd55cd4c7719306e65d538c40df1f295672.tar.xz |
ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6206 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r-- | MdePkg/Include/Base.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 4bc80c17c8..fa6d0d5df2 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -57,34 +57,18 @@ struct _LIST_ENTRY { // Modifiers for Data Types used to self document code.
// This concept is borrowed for UEFI specification.
//
-#ifndef IN
-//
-// Some other envirnments use this construct, so #ifndef to prevent
-// mulitple definition.
-//
#define IN
#define OUT
#define OPTIONAL
-#endif
//
-// Constants. They may exist in other build structures, so #ifndef them.
-//
-#ifndef TRUE
-//
// UEFI specification claims 1 and 0. We are concerned about the
// complier portability so we did it this way.
//
#define TRUE ((BOOLEAN)(1==1))
-#endif
-
-#ifndef FALSE
#define FALSE ((BOOLEAN)(0==1))
-#endif
-#ifndef NULL
#define NULL ((VOID *) 0)
-#endif
#define BIT0 0x00000001
#define BIT1 0x00000002
@@ -196,15 +180,11 @@ struct _LIST_ENTRY { //
// Also support coding convention rules for var arg macros
//
-#ifndef VA_START
-
typedef CHAR8 *VA_LIST;
#define VA_START(ap, v) (ap = (VA_LIST) & (v) + _INT_SIZE_OF (v))
#define VA_ARG(ap, t) (*(t *) ((ap += _INT_SIZE_OF (t)) - _INT_SIZE_OF (t)))
#define VA_END(ap) (ap = (VA_LIST) 0)
-#endif
-
//
// Macro that returns the byte offset of a field in a data structure.
//
|