diff options
author | Marvin Häuser <Marvin.Haeuser@outlook.com> | 2018-02-27 23:23:13 +0100 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2018-02-28 09:14:18 +0800 |
commit | 67b10d4808d2574c13f02a72f4154461e656de00 (patch) | |
tree | 9dd66e8d7537b424a4c304b8ef3098d17344d701 | |
parent | b711aea87f7a31efbbd11440186c35c335e59afe (diff) | |
download | edk2-platforms-67b10d4808d2574c13f02a72f4154461e656de00.tar.xz |
MinPlatformPkg/TestPointCheckLib: Prevent symbol duplication.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
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 (
|