]> 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 05:58:52 +0000 (05:58 +0000)
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Oct 2008 05:58:52 +0000 (05:58 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6295 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
MdePkg/Library/DxeHobLib/HobLib.c
MdePkg/Library/DxeSmbusLib/DxeSmbusLib.c
MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
MdePkg/Library/UefiIfrSupportLib/UefiIfrForm.c
MdePkg/Library/UefiRuntimeLib/RuntimeLib.c

index 7250828744744466f7af6dffaa366916f017ef57..08f14a765c07b51e6009730c3d16565686a4c68c 100644 (file)
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/ExtractGuidedSectionLib.h>\r
 \r
-STATIC GUID                 *mExtractHandlerGuidTable;\r
-STATIC UINT32               mNumberOfExtractHandler = 0;\r
+GUID                 *mExtractHandlerGuidTable;\r
+UINT32               mNumberOfExtractHandler = 0;\r
 \r
-STATIC EXTRACT_GUIDED_SECTION_DECODE_HANDLER   *mExtractDecodeHandlerTable;\r
-STATIC EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable;\r
+EXTRACT_GUIDED_SECTION_DECODE_HANDLER   *mExtractDecodeHandlerTable;\r
+EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable;\r
 \r
 /**
   Construtor allocates the global memory to store the registered guid and Handler list.\r
index d6e9e5fed699ac0460eb14a6dae925baab73124e..db69912e4f902da26d28992503752d6c3df24f12 100644 (file)
@@ -23,7 +23,7 @@
 #include <Library/DebugLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
 \r
-STATIC VOID  *mHobList = NULL;\r
+VOID  *mHobList = NULL;\r
 \r
 /**\r
   The constructor function caches the pointer to HOB list.\r
index 921d18d6f5cfb02c56693601a0ea6348252ea075..8286f98b00aa0ef22f6e6996799459672aae0e53 100644 (file)
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // Globle varible to cache pointer to Smbus protocol.\r
 //\r
-STATIC EFI_SMBUS_HC_PROTOCOL      *mSmbus = NULL;\r
+EFI_SMBUS_HC_PROTOCOL      *mSmbus = NULL;\r
 \r
 /**\r
   The constructor function caches the pointer to Smbus protocol.\r
index fc045aeec04c1bb2eb87ea8f72fe1f0e6e27c30e..564e50626a31eeefaa8f4c4a53257f69b5ee895f 100644 (file)
@@ -19,7 +19,7 @@
 #include <Library/PeiServicesTablePointerLib.h>\r
 #include <Library/DebugLib.h>\r
 \r
-STATIC CONST EFI_PEI_SERVICES  **gPeiServices;\r
+CONST EFI_PEI_SERVICES  **gPeiServices;\r
 \r
 /**\r
   The function cache the pointer of PEI services to global variable.\r
index 91d77f5fcba4559279cd4b443e55db608fc0bfc6..c6661fe70da2885412d0d793be0d21d724d94981 100644 (file)
@@ -34,7 +34,7 @@
 //\r
 // Template for an end-of-device path node.\r
 //\r
-STATIC EFI_DEVICE_PATH_PROTOCOL  mEndDevicePath = {\r
+EFI_DEVICE_PATH_PROTOCOL  mEndDevicePath = {\r
   END_DEVICE_PATH_TYPE,\r
   END_ENTIRE_DEVICE_PATH_SUBTYPE,\r
   {\r
index a1a8650f0d397d916e73f3fbba37808b8378034e..6ea34237bc552e072f5235ee06dbf5f4e7efb35e 100644 (file)
@@ -26,7 +26,7 @@
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 \r
-STATIC EFI_DEVICE_PATH_UTILITIES_PROTOCOL          *mDevicePathUtilities = NULL;\r
+EFI_DEVICE_PATH_UTILITIES_PROTOCOL          *mDevicePathUtilities = NULL;\r
 \r
 /**\r
   The constructor function caches the pointer to DevicePathUtilites protocol.\r
@@ -361,4 +361,3 @@ FileDevicePath (
 \r
   return DevicePath;\r
 }\r
-\r
index ee981c93ff175e6b36e1455bc3d85b657065287c..c175df2e79edba07705f610d4c95b36c53a48599 100644 (file)
@@ -15,8 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 
 #include "UefiIfrLibraryInternal.h"
 
-STATIC CONST EFI_FORM_BROWSER2_PROTOCOL      *mFormBrowser2     = NULL;
-STATIC CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL;
+CONST EFI_FORM_BROWSER2_PROTOCOL      *mFormBrowser2     = NULL;
+CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL;
 
 /**
   This function locate FormBrowser2 protocols for later usage.
index a30a95c54c21bb57d5ef016b44a791663be794f9..1fe7c1f62097636e3315beb419d364da0d89aeaf 100644 (file)
@@ -18,10 +18,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /// Driver Lib Module Globals\r
 ///\r
 \r
-STATIC EFI_EVENT              mEfiVirtualNotifyEvent;\r
-STATIC EFI_EVENT              mEfiExitBootServicesEvent;\r
-STATIC BOOLEAN                mEfiGoneVirtual         = FALSE;\r
-STATIC BOOLEAN                mEfiAtRuntime           = FALSE;\r
+EFI_EVENT              mEfiVirtualNotifyEvent;\r
+EFI_EVENT              mEfiExitBootServicesEvent;\r
+BOOLEAN                mEfiGoneVirtual         = FALSE;\r
+BOOLEAN                mEfiAtRuntime           = FALSE;\r
 EFI_RUNTIME_SERVICES          *mRT;\r
 \r
 /**\r