From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A18AA81EA4 for ; Thu, 1 Dec 2016 00:51:36 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 01 Dec 2016 00:51:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,723,1477983600"; d="scan'208";a="37708226" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.192.126]) by fmsmga005.fm.intel.com with ESMTP; 01 Dec 2016 00:51:35 -0800 From: Jiewen Yao To: edk2-devel@lists.01.org Cc: Feng Tian , Jeff Fan Date: Thu, 1 Dec 2016 16:51:23 +0800 Message-Id: <1480582283-19488-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH] MdeModulePkg/CapsuleApp: add Internal for function name. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 08:51:36 -0000 To prevent potential build failure. Cc: Feng Tian Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- MdeModulePkg/Application/CapsuleApp/AppSupport.c | 8 ++++---- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MdeModulePkg/Application/CapsuleApp/AppSupport.c b/MdeModulePkg/Application/CapsuleApp/AppSupport.c index 6aea76a..a5fd0ca 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 5137259..5b8c147 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; -- 2.7.4.windows.1