summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Base.h
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-06 01:19:56 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-06 01:19:56 +0000
commit22ce9dc5b94b1a7cecf1527925092db0a5acc3aa (patch)
treeed7a1125388ef28ad3380e87e2c9cd3a86e357c5 /MdePkg/Include/Base.h
parent120db52c6db13e1726be90fddedd842190566a6e (diff)
downloadedk2-22ce9dc5b94b1a7cecf1527925092db0a5acc3aa.tar.gz
edk2-22ce9dc5b94b1a7cecf1527925092db0a5acc3aa.tar.bz2
edk2-22ce9dc5b94b1a7cecf1527925092db0a5acc3aa.zip
Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6886 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r--MdePkg/Include/Base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 4613ea011d..a90a67b98f 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -274,7 +274,7 @@ typedef CHAR8 *VA_LIST;
@return A pointer to the structure from one of it's elements.
**/
-#define _CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))
+#define BASE_CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))
/**
Rounds a value up to the next boundary using a specified alignment.