]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/CapsuleApp: add Internal for function name.
authorJiewen Yao <jiewen.yao@intel.com>
Thu, 1 Dec 2016 08:49:25 +0000 (16:49 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Thu, 1 Dec 2016 11:07:52 +0000 (19:07 +0800)
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>
MdeModulePkg/Application/CapsuleApp/AppSupport.c
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c

index 6aea76a7201d8c4e2fadf8b6d6409526c15b6014..a5fd0ca3164909af99464386911d8887e9c6e483 100644 (file)
@@ -74,7 +74,7 @@ GetArg (
 \r
 **/\r
 EFI_STATUS\r
-StrToBuf (\r
+InternalStrToBuf (\r
   OUT UINT8    *Buf,\r
   IN  UINTN    BufferLength,\r
   IN  CHAR16   *Str\r
@@ -135,7 +135,7 @@ StrToBuf (
 \r
 **/\r
 EFI_STATUS\r
-StrToGuid (\r
+InternalStrToGuid (\r
   IN  CHAR16   *Str,\r
   OUT EFI_GUID *Guid\r
   )\r
@@ -185,7 +185,7 @@ StrToGuid (
   //\r
   // Get the following 8 bytes data\r
   //\r
-  StrToBuf (&Guid->Data4[0], 2, Str);\r
+  InternalStrToBuf (&Guid->Data4[0], 2, Str);\r
   //\r
   // Skip 2 byte hex chars\r
   //\r
@@ -196,7 +196,7 @@ StrToGuid (
   } else {\r
     return EFI_UNSUPPORTED;\r
   }\r
-  StrToBuf (&Guid->Data4[2], 6, Str);\r
+  InternalStrToBuf (&Guid->Data4[2], 6, Str);\r
 \r
   return EFI_SUCCESS;\r
 }\r
index 51372593de4ed125ddf674bb8ea7ae4d846559d4..5b8c14792884d1d8d0c2058784858b3d2470022d 100644 (file)
@@ -155,7 +155,7 @@ WriteFileFromBuffer (
 \r
 **/\r
 EFI_STATUS\r
-StrToGuid (\r
+InternalStrToGuid (\r
   IN  CHAR16   *Str,\r
   OUT EFI_GUID *Guid\r
   );\r
@@ -782,7 +782,7 @@ UefiMain (
         //\r
         // FMP->GetImage()\r
         //\r
-        Status = StrToGuid(Argv[3], &ImageTypeId);\r
+        Status = InternalStrToGuid(Argv[3], &ImageTypeId);\r
         if (EFI_ERROR(Status)) {\r
           Print (L"Invalid ImageTypeId - %s\n", Argv[3]);\r
           return Status;\r