From 67b10d4808d2574c13f02a72f4154461e656de00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20H=C3=A4user?= Date: Tue, 27 Feb 2018 23:23:13 +0100 Subject: MinPlatformPkg/TestPointCheckLib: Prevent symbol duplication. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser Reviewed-by: Jiewen Yao --- .../MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiDmar.c | 2 +- .../MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiMadt.c | 2 +- .../Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckEsrt.c | 2 +- .../MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryMap.c | 2 +- .../Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/PeiCheckHob.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiDmar.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiDmar.c index 3f6b3afe99..394eeb3613 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiDmar.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiDmar.c @@ -48,7 +48,7 @@ CHAR8 *mDmarTypeString[] = { "ANDD ", }; -CHAR8 mUnknownStr[11]; +STATIC CHAR8 mUnknownStr[11]; CHAR8 * ShortNameOfDmarType( diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiMadt.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiMadt.c index c1bf431ebd..ec63e2d7f9 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiMadt.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpiMadt.c @@ -58,7 +58,7 @@ CHAR8 *mMadtTypeString[] = { "X2APIC_NMI", }; -CHAR8 mUnknownStr[11]; +STATIC CHAR8 mUnknownStr[11]; CHAR8 * ShortNameOfMadtType( diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckEsrt.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckEsrt.c index 371b162ab8..6b53ab7a37 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckEsrt.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckEsrt.c @@ -39,7 +39,7 @@ CHAR8 *mLastAttemptStatusString[] = { "Error: Power Event Battery", }; -CHAR8 mUnknownStr[11]; +STATIC CHAR8 mUnknownStr[11]; CHAR8 * FwTypeToString( diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryMap.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryMap.c index 4e7640183a..32be9db013 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryMap.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryMap.c @@ -40,7 +40,7 @@ CHAR8 *mMemoryTypeShortName[] = { "Persistent", }; -CHAR8 mUnknownStr[11]; +STATIC CHAR8 mUnknownStr[11]; CHAR8 * ShortNameOfMemoryType( diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/PeiCheckHob.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/PeiCheckHob.c index dcb8dd7040..4ce0137a1e 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/PeiCheckHob.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/PeiCheckHob.c @@ -63,7 +63,7 @@ CHAR8 *mResourceTypeShortName[] = { "Reserved I/O", }; -CHAR8 mUnknownStr[11]; +STATIC CHAR8 mUnknownStr[11]; CHAR8 * ShortNameOfMemoryType ( -- cgit v1.2.3