summaryrefslogtreecommitdiff
path: root/DuetPkg/FSVariable
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-25 06:48:03 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-25 06:48:03 +0000
commit3ffa0f1f8aadd9c81d400623e0e43e950db9181e (patch)
tree09068b85afb471b49b449661cddb263bf5060f6f /DuetPkg/FSVariable
parente6a5cb9918230cf97e0b48da727fe48df053b16d (diff)
downloadedk2-platforms-3ffa0f1f8aadd9c81d400623e0e43e950db9181e.tar.xz
Fix name conflict for GetVariable defined in UefiLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7947 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/FSVariable')
-rw-r--r--DuetPkg/FSVariable/FSVariable.c4
-rw-r--r--DuetPkg/FSVariable/FSVariable.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/FSVariable/FSVariable.c b/DuetPkg/FSVariable/FSVariable.c
index eefaf0394c..7188576ca4 100644
--- a/DuetPkg/FSVariable/FSVariable.c
+++ b/DuetPkg/FSVariable/FSVariable.c
@@ -500,7 +500,7 @@ Returns:
EFI_STATUS
EFIAPI
-GetVariable (
+DuetGetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
OUT UINT32 *Attributes OPTIONAL,
@@ -1268,7 +1268,7 @@ Returns:
);
- SystemTable->RuntimeServices->GetVariable = GetVariable;
+ SystemTable->RuntimeServices->GetVariable = DuetGetVariable;
SystemTable->RuntimeServices->GetNextVariableName = GetNextVariableName;
SystemTable->RuntimeServices->SetVariable = SetVariable;
diff --git a/DuetPkg/FSVariable/FSVariable.h b/DuetPkg/FSVariable/FSVariable.h
index 6da525cbf6..5ecba32c4f 100644
--- a/DuetPkg/FSVariable/FSVariable.h
+++ b/DuetPkg/FSVariable/FSVariable.h
@@ -107,7 +107,7 @@ VariableClassAddressChangeEvent (
EFI_STATUS
EFIAPI
-GetVariable (
+DuetGetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
OUT UINT32 *Attributes OPTIONAL,