]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Patch to remove STATIC modifier. This is on longer recommended by EFI Framework codin...
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Oct 2008 06:06:07 +0000 (06:06 +0000)
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Oct 2008 06:06:07 +0000 (06:06 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6297 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c
IntelFrameworkPkg/Library/FrameworkIfrSupportLib/IfrCommon.c
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c

index 57a2335571035fcdf4c68a3363f8f19ff908f38f..d4768b25f02640332ec564c7a500f8b315b08c1c 100644 (file)
@@ -22,8 +22,8 @@
 //\r
 // Globle varible to cache pointer to CpuIo protocol.\r
 //\r
-STATIC EFI_CPU_IO_PROTOCOL              *mCpuIo = NULL;\r
-STATIC EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL  *mPciRootBridgeIo = NULL;\r
+EFI_CPU_IO_PROTOCOL              *mCpuIo = NULL;\r
+EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL  *mPciRootBridgeIo = NULL;\r
 \r
 /**\r
   The constructor function caches the pointer to CpuIo protocol.\r
index 38873a0bf9b32edf8a1190adbe0561511c498db9..24093c8f1708e22403808bfdeeb8c2dd31d24a5b 100644 (file)
@@ -36,7 +36,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @return The size of a device path in bytes.\r
 \r
 **/\r
-STATIC\r
 UINTN\r
 EFIAPI\r
 SmmGetDevicePathSize (\r
index 5152848815a1dd44f76dbe703899a945c392b906..73163b6d2d0732038311ccabd14eaa5f0584dd0c 100644 (file)
@@ -391,7 +391,6 @@ AddOpCode (
   \r
   @return the statue of locating HII protocol\r
 **/\r
-STATIC\r
 EFI_STATUS\r
 GetHiiInterface (\r
   OUT     EFI_HII_PROTOCOL    **Hii\r
index 143870ae9d5746d2e031262c4463873295bf9ca6..91b37d2ab3b38a1d0d293659ee3bd43b523f602b 100644 (file)
@@ -24,7 +24,6 @@
   @retval FALSE     Language 1 and language 2 are not the same.\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 CompareIso639LanguageCode (\r
   IN CONST CHAR8  *Language1,\r
index 7bc5f8a92a02107304dcbd6b6f793003f7921246..acc95dd62e07df00a2ccaf97dbf0633e2a1d7bf8 100644 (file)
@@ -33,7 +33,6 @@
 \r
 **/\r
 \r
-STATIC\r
 UINTN\r
 InternalPrint (\r
   IN  CONST CHAR16                     *Format,\r
@@ -156,7 +155,6 @@ ErrorPrint (
 \r
 **/\r
 \r
-STATIC\r
 UINTN\r
 AsciiInternalPrint (\r
   IN  CONST CHAR8                      *Format,\r
index 067a85e719905e21a410597d36d6aad0b0fddf37..0a83631753c8ebeabbb8316d373554158fb48e08 100644 (file)
@@ -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.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 InternalEmptyFuntion (\r