summaryrefslogtreecommitdiffstats
path: root/SignedCapsulePkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-02-21 17:57:02 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-02-28 11:30:32 +0800
commitbf717f10f6a237414251edb55530d4f3e73638d4 (patch)
tree3dbdf75d8f155860502f0ba931bb45d0d49bf1c0 /SignedCapsulePkg
parent83451aea747c996607e7c978809b73d4d77536c0 (diff)
downloadedk2-bf717f10f6a237414251edb55530d4f3e73638d4.tar.gz
edk2-bf717f10f6a237414251edb55530d4f3e73638d4.tar.bz2
edk2-bf717f10f6a237414251edb55530d4f3e73638d4.zip
SignedCapsulePkg/IniParsing: Rename StrToGuid to avoid link failure
Since the next patch will add AsciiStrToGuid in BaseLib, renaming the internal function AsciiStrToGuid to IniAsciiStrToGuid to avoid link failure. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'SignedCapsulePkg')
-rw-r--r--SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
index 270380e16e..16e1349936 100644
--- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
+++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
@@ -25,7 +25,7 @@
OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()
will receive untrusted input and do basic validation.
- Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions
@@ -933,7 +933,7 @@ AsciiStrToBuf (
**/
EFI_STATUS
-AsciiStrToGuid (
+IniAsciiStrToGuid (
IN CHAR8 *Str,
OUT EFI_GUID *Guid
)
@@ -1261,7 +1261,7 @@ GetGuidFromDataFile (
if (!IsValidGuid(Value, AsciiStrLen(Value))) {
return EFI_NOT_FOUND;
}
- Status = AsciiStrToGuid(Value, Guid);
+ Status = IniAsciiStrToGuid(Value, Guid);
if (EFI_ERROR (Status)) {
return EFI_NOT_FOUND;
}