summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhichao Gao <zhichao.gao@intel.com>2019-06-10 09:38:18 +0800
committerHao A Wu <hao.a.wu@intel.com>2019-06-24 09:18:32 +0800
commit0c5296153828e87a02545ccd1a4055fbd56875b4 (patch)
treec274f1d1c64321c1749104232eb6c070601c1bcf
parent27052c21c411394032b3ab1749cf410ea9934157 (diff)
downloadedk2-0c5296153828e87a02545ccd1a4055fbd56875b4.zip
edk2-0c5296153828e87a02545ccd1a4055fbd56875b4.tar.gz
edk2-0c5296153828e87a02545ccd1a4055fbd56875b4.tar.bz2
MdeMoudlePkg/CapsulePei: Fix coding style issue
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1853 Remove API specifier AreCapsulesStaged and GetScatterGatherHeadEntries because they are internal used. Add space between function name and bracket. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael Turner <Michael.Turner@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Zhichao gao <zhichao.gao@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
-rw-r--r--MdeModulePkg/Universal/CapsulePei/UefiCapsule.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
index 7c8c7a0..b224e20 100644
--- a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
+++ b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
@@ -1,7 +1,7 @@
/** @file
Capsule update PEIM for UEFI2.0
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -800,8 +800,7 @@ BuildMemoryResourceDescriptor (
**/
EFI_STATUS
-EFIAPI
-AreCapsulesStaged(
+AreCapsulesStaged (
OUT BOOLEAN *UpdateCapsules
)
{
@@ -865,8 +864,7 @@ AreCapsulesStaged(
**/
EFI_STATUS
-EFIAPI
-GetScatterGatherHeadEntries(
+GetScatterGatherHeadEntries (
OUT UINTN *ListLength,
OUT EFI_PHYSICAL_ADDRESS **HeadList
)