diff options
author | Guo Dong <guo.dong@intel.com> | 2021-10-15 12:10:11 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-19 04:27:41 +0000 |
commit | 6ef57974472de604cf436ce904a88f0667cee8bd (patch) | |
tree | 175db3ec47711ae8ffdf71feab8e51c6282c7aed /UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h | |
parent | 91a978ce7e0c7a327cff1d9411b0e1c9dae8824a (diff) | |
download | edk2-6ef57974472de604cf436ce904a88f0667cee8bd.tar.gz edk2-6ef57974472de604cf436ce904a88f0667cee8bd.tar.bz2 edk2-6ef57974472de604cf436ce904a88f0667cee8bd.zip |
UefiPayloadPkg: Fix ECC reported issues
V2: Fix more header files on #ifdef variable
ECC reported some issues on UefiPayloadPkg, this patch fixed
most of them except several files including ElfLib\Elf32.h,
coreboot.h, CbParseLib.c, etc.
It also removed unused functions in ResetSystemLib and Hob.c.
Signed-off-by: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Diffstat (limited to 'UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h')
-rw-r--r-- | UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h index 68bdf5e555..e9d0eb00ee 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h @@ -5,8 +5,8 @@ Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent
**/
-#ifndef _PLATFORM_CONSOLE_H
-#define _PLATFORM_CONSOLE_H
+#ifndef PLATFORM_CONSOLE_H_
+#define PLATFORM_CONSOLE_H_
#include <PiDxe.h>
#include <IndustryStandard/Pci.h>
|