diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:59:04 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:59:04 +0000 |
commit | 58228071abac66df09605d34d8e356bce2fc49bf (patch) | |
tree | b7bda0827ed53e22b78a6e4ee383ac27a3e6c8c6 /MdePkg/Library | |
parent | e56dd2ce1342c358962eeab09d54cb1a95c064bf (diff) | |
download | edk2-platforms-58228071abac66df09605d34d8e356bce2fc49bf.tar.xz |
Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6303 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/UefiIfrSupportLib/UefiIfrForm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdePkg/Library/UefiIfrSupportLib/UefiIfrForm.c b/MdePkg/Library/UefiIfrSupportLib/UefiIfrForm.c index c175df2e79..f41fc25d52 100644 --- a/MdePkg/Library/UefiIfrSupportLib/UefiIfrForm.c +++ b/MdePkg/Library/UefiIfrSupportLib/UefiIfrForm.c @@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "UefiIfrLibraryInternal.h" CONST EFI_FORM_BROWSER2_PROTOCOL *mFormBrowser2 = NULL; -CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL; +CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mIfrSupportLibHiiConfigRouting = NULL; /** This function locate FormBrowser2 protocols for later usage. @@ -39,8 +39,8 @@ LocateFormBrowser2Protocols ( } } - if (mHiiConfigRouting == NULL) { - Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **) &mHiiConfigRouting); + if (mIfrSupportLibHiiConfigRouting == NULL) { + Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **) &mIfrSupportLibHiiConfigRouting); if (EFI_ERROR (Status)) { return Status; } @@ -809,8 +809,8 @@ GetBrowserData ( // // Convert <ConfigResp> to buffer data // - Status = mHiiConfigRouting->ConfigToBlock ( - mHiiConfigRouting, + Status = mIfrSupportLibHiiConfigRouting->ConfigToBlock ( + mIfrSupportLibHiiConfigRouting, ConfigResp, Buffer, BufferSize, @@ -909,8 +909,8 @@ SetBrowserData ( // // Convert buffer to <ConfigResp> // - Status = mHiiConfigRouting->BlockToConfig ( - mHiiConfigRouting, + Status = mIfrSupportLibHiiConfigRouting->BlockToConfig ( + mIfrSupportLibHiiConfigRouting, ConfigRequest, Buffer, BufferSize, |