summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Application
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2016-12-01 16:49:25 +0800
committerJiewen Yao <jiewen.yao@intel.com>2016-12-01 19:07:52 +0800
commitc608cda5c1afe9a5c3bbefc7b3682e1f1d40f365 (patch)
tree63243d3b3c7873502682ebeb3bb7c35e1c4c20ac /MdeModulePkg/Application
parent396fe30ad99ecdb78434cc558d5cf91cadf48857 (diff)
downloadedk2-c608cda5c1afe9a5c3bbefc7b3682e1f1d40f365.tar.gz
edk2-c608cda5c1afe9a5c3bbefc7b3682e1f1d40f365.tar.bz2
edk2-c608cda5c1afe9a5c3bbefc7b3682e1f1d40f365.zip
MdeModulePkg/CapsuleApp: add Internal for function name.
To prevent potential build failure. Cc: Feng Tian <feng.tian@intel.com> Cc: Jeff Fan <jeff.fan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'MdeModulePkg/Application')
-rw-r--r--MdeModulePkg/Application/CapsuleApp/AppSupport.c8
-rw-r--r--MdeModulePkg/Application/CapsuleApp/CapsuleApp.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Application/CapsuleApp/AppSupport.c b/MdeModulePkg/Application/CapsuleApp/AppSupport.c
index 6aea76a720..a5fd0ca316 100644
--- a/MdeModulePkg/Application/CapsuleApp/AppSupport.c
+++ b/MdeModulePkg/Application/CapsuleApp/AppSupport.c
@@ -74,7 +74,7 @@ GetArg (
**/
EFI_STATUS
-StrToBuf (
+InternalStrToBuf (
OUT UINT8 *Buf,
IN UINTN BufferLength,
IN CHAR16 *Str
@@ -135,7 +135,7 @@ StrToBuf (
**/
EFI_STATUS
-StrToGuid (
+InternalStrToGuid (
IN CHAR16 *Str,
OUT EFI_GUID *Guid
)
@@ -185,7 +185,7 @@ StrToGuid (
//
// Get the following 8 bytes data
//
- StrToBuf (&Guid->Data4[0], 2, Str);
+ InternalStrToBuf (&Guid->Data4[0], 2, Str);
//
// Skip 2 byte hex chars
//
@@ -196,7 +196,7 @@ StrToGuid (
} else {
return EFI_UNSUPPORTED;
}
- StrToBuf (&Guid->Data4[2], 6, Str);
+ InternalStrToBuf (&Guid->Data4[2], 6, Str);
return EFI_SUCCESS;
}
diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
index 51372593de..5b8c147928 100644
--- a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
+++ b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
@@ -155,7 +155,7 @@ WriteFileFromBuffer (
**/
EFI_STATUS
-StrToGuid (
+InternalStrToGuid (
IN CHAR16 *Str,
OUT EFI_GUID *Guid
);
@@ -782,7 +782,7 @@ UefiMain (
//
// FMP->GetImage()
//
- Status = StrToGuid(Argv[3], &ImageTypeId);
+ Status = InternalStrToGuid(Argv[3], &ImageTypeId);
if (EFI_ERROR(Status)) {
Print (L"Invalid ImageTypeId - %s\n", Argv[3]);
return Status;