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@6298 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4
2008-10-30 06:08:09 +00:00
parent df1f748c87
commit 819d148893
27 changed files with 14 additions and 105 deletions

View File

@@ -47,7 +47,6 @@
@retval EFI_UNSUPPORTED Status Code Protocol is not available.
**/
STATIC
EFI_STATUS
InternalReportStatusCode (
IN EFI_STATUS_CODE_TYPE Type,
@@ -69,7 +68,6 @@ InternalReportStatusCode (
@return The size, in bytes, of DevicePath.
**/
STATIC
UINTN
InternalReportStatusCodeDevicePathSize (
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath

View File

@@ -75,7 +75,6 @@ InternalReportStatusCode (
@return The size, in bytes, of DevicePath.
**/
STATIC
UINTN
InternalReportStatusCodeDevicePathSize (
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath

View File

@@ -141,7 +141,6 @@ GetGraphicsBitMapFromFV (
@retval EFI_OUT_OF_RESOURCES - No enough buffer to allocate
**/
STATIC
EFI_STATUS
ConvertBmpToGopBlt (
IN VOID *BmpImage,
@@ -569,7 +568,7 @@ DisableQuietBoot (
return ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText);
}
static EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {
EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {
{ 0x00, 0x00, 0x00, 0x00 },
{ 0x98, 0x00, 0x00, 0x00 },
{ 0x00, 0x98, 0x00, 0x00 },
@@ -614,7 +613,6 @@ static EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {
@retval EFI_OUT_OF_RESOURCES - out of resources
**/
STATIC
UINTN
_IPrint (
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,

View File

@@ -22,7 +22,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@retval returns EFI_SUCCESS if two PCI device matched.
**/
STATIC
EFI_STATUS
DeviceCheck (
IN EFI_PCI_DEVICE_INFO *PciDeviceInfo,

View File

@@ -55,7 +55,6 @@
@retval EFI_UNSUPPORTED Status Code Protocol is not available.
**/
STATIC
EFI_STATUS
InternalReportStatusCode (
IN EFI_STATUS_CODE_TYPE Type,

View File

@@ -77,7 +77,6 @@ InternalReportStatusCode (
@return The size, in bytes, of DevicePath.
**/
STATIC
UINTN
InternalReportStatusCodeDevicePathSize (
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath

View File

@@ -20,24 +20,18 @@
#include <Library/OemHookStatusCodeLib.h>
#include <Protocol/SmmBase.h>
STATIC
EFI_EVENT mVirtualAddressChangeEvent;
STATIC
EFI_EVENT mExitBootServicesEvent;
STATIC
EFI_STATUS_CODE_DATA *mStatusCodeData;
STATIC
BOOLEAN mInSmm;
EFI_SMM_BASE_PROTOCOL *mSmmBase;
STATIC
EFI_RUNTIME_SERVICES *mRT;
STATIC
BOOLEAN mHaveExitedBootServices = FALSE;
/**
@@ -80,7 +74,6 @@ InternalGetReportStatusCode (
@param[in] Event The Event that is being processed
@param[in] Context Event Context
**/
STATIC
VOID
EFIAPI
ReportStatusCodeLibVirtualAddressChange (
@@ -101,7 +94,6 @@ ReportStatusCodeLibVirtualAddressChange (
@param[in] Event The Event that is being processed
@param[in] Context Event Context
**/
STATIC
VOID
EFIAPI
ReportStatusCodeLibExitBootServices (