diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:06:07 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:06:07 +0000 |
commit | df1f748c87c8f7a6f3a691fda2015c20f24da364 (patch) | |
tree | b806dd95c14d9c22ff36699e13c7336cb2b969a6 /IntelFrameworkPkg/Library | |
parent | fe1e36e550c6ffcd2561903d434683d3939e1942 (diff) | |
download | edk2-platforms-df1f748c87c8f7a6f3a691fda2015c20f24da364.tar.xz |
Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6297 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg/Library')
6 files changed, 2 insertions, 8 deletions
diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c index 57a2335571..d4768b25f0 100644 --- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c +++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c @@ -22,8 +22,8 @@ //
// Globle varible to cache pointer to CpuIo protocol.
//
-STATIC EFI_CPU_IO_PROTOCOL *mCpuIo = NULL;
-STATIC EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *mPciRootBridgeIo = NULL;
+EFI_CPU_IO_PROTOCOL *mCpuIo = NULL;
+EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *mPciRootBridgeIo = NULL;
/**
The constructor function caches the pointer to CpuIo protocol.
diff --git a/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c b/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c index 38873a0bf9..24093c8f17 100644 --- a/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c +++ b/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c @@ -36,7 +36,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @return The size of a device path in bytes.
**/
-STATIC
UINTN
EFIAPI
SmmGetDevicePathSize (
diff --git a/IntelFrameworkPkg/Library/FrameworkIfrSupportLib/IfrCommon.c b/IntelFrameworkPkg/Library/FrameworkIfrSupportLib/IfrCommon.c index 5152848815..73163b6d2d 100644 --- a/IntelFrameworkPkg/Library/FrameworkIfrSupportLib/IfrCommon.c +++ b/IntelFrameworkPkg/Library/FrameworkIfrSupportLib/IfrCommon.c @@ -391,7 +391,6 @@ AddOpCode ( @return the statue of locating HII protocol
**/
-STATIC
EFI_STATUS
GetHiiInterface (
OUT EFI_HII_PROTOCOL **Hii
diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c index 143870ae9d..91b37d2ab3 100644 --- a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c +++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c @@ -24,7 +24,6 @@ @retval FALSE Language 1 and language 2 are not the same.
**/
-STATIC
BOOLEAN
CompareIso639LanguageCode (
IN CONST CHAR8 *Language1,
diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c index 7bc5f8a92a..acc95dd62e 100644 --- a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c +++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c @@ -33,7 +33,6 @@ **/
-STATIC
UINTN
InternalPrint (
IN CONST CHAR16 *Format,
@@ -156,7 +155,6 @@ ErrorPrint ( **/
-STATIC
UINTN
AsciiInternalPrint (
IN CONST CHAR8 *Format,
diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c index 067a85e719..0a83631753 100644 --- a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c +++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c @@ -26,7 +26,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.
**/
-STATIC
VOID
EFIAPI
InternalEmptyFuntion (
|