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@6299 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4 2008-10-30 06:11:42 +00:00
parent 819d148893
commit 78e570b6f9
15 changed files with 3 additions and 66 deletions

View File

@ -1221,7 +1221,6 @@ Returns:
);
}
STATIC
EFI_STATUS
ValidateFvHeader (
EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader

View File

@ -40,13 +40,11 @@
//
// Cache of WinNtThunk protocol
//
STATIC
EFI_WIN_NT_THUNK_PROTOCOL *mWinNt;
//
// Cache of standard output handle .
//
STATIC
HANDLE mStdOut;
/**

View File

@ -40,13 +40,11 @@
//
// Cache of WinNtThunk protocol
//
STATIC
EFI_WIN_NT_THUNK_PROTOCOL *mWinNt;
//
// Cache of standard output handle .
//
STATIC
HANDLE mStdOut;
/**

View File

@ -50,7 +50,6 @@ InitializeRealTimeClock (
IN EFI_SYSTEM_TABLE *SystemTable
);
STATIC
EFI_STATUS
EFIAPI
WinNtGetTime (
@ -116,7 +115,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSetTime (
@ -183,7 +181,6 @@ Returns:
}
}
STATIC
EFI_STATUS
EFIAPI
WinNtGetWakeupTime (
@ -219,7 +216,6 @@ Returns:
return EFI_UNSUPPORTED;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSetWakeupTime (

View File

@ -35,7 +35,6 @@ InitializeNtReset (
IN EFI_SYSTEM_TABLE *SystemTable
);
STATIC
VOID
EFIAPI
WinNtResetSystem (
@ -85,7 +84,6 @@ Returns:
return Status;
}
STATIC
VOID
EFIAPI
WinNtResetSystem (

View File

@ -407,7 +407,6 @@ Returns:
return Status;
}
STATIC
CHAR16 *
GetNextElementPastTerminator (
IN CHAR16 *EnvironmentVariable,
@ -443,7 +442,6 @@ Returns:
return Ptr;
}
STATIC
EFI_STATUS
WinNtBlockIoCreateMapping (
IN EFI_WIN_NT_IO_PROTOCOL *WinNtIo,
@ -587,7 +585,6 @@ Returns:
return Status;
}
STATIC
EFI_STATUS
WinNtBlockIoOpenDevice (
WIN_NT_BLOCK_IO_PRIVATE *Private
@ -707,7 +704,6 @@ Done:
return Status;
}
STATIC
EFI_STATUS
WinNtBlockIoError (
IN WIN_NT_BLOCK_IO_PRIVATE *Private
@ -777,7 +773,6 @@ Returns:
return Status;
}
STATIC
EFI_STATUS
WinNtBlockIoReadWriteCommon (
IN WIN_NT_BLOCK_IO_PRIVATE *Private,
@ -873,7 +868,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoReadBlocks (
@ -940,7 +934,6 @@ Done:
return Status;
}
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoWriteBlocks (
@ -1010,7 +1003,6 @@ Done:
}
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoFlushBlocks (
@ -1034,7 +1026,6 @@ WinNtBlockIoFlushBlocks (
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoResetBlock (

View File

@ -187,7 +187,6 @@ Returns:
//
// Block IO protocol member functions
//
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoReadBlocks (
@ -218,7 +217,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoWriteBlocks (
@ -249,7 +247,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoFlushBlocks (
@ -272,7 +269,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtBlockIoResetBlock (
@ -300,7 +296,6 @@ Returns:
//
// Private Worker functions
//
STATIC
EFI_STATUS
WinNtBlockIoCreateMapping (
IN EFI_WIN_NT_IO_PROTOCOL *WinNtIo,
@ -336,7 +331,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
WinNtBlockIoReadWriteCommon (
IN WIN_NT_BLOCK_IO_PRIVATE *Private,
@ -368,7 +362,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
WinNtBlockIoError (
IN WIN_NT_BLOCK_IO_PRIVATE *Private
@ -390,7 +383,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
WinNtBlockIoOpenDevice (
WIN_NT_BLOCK_IO_PRIVATE *Private
@ -412,7 +404,6 @@ Returns:
--*/
;
STATIC
CHAR16 *
GetNextElementPastTerminator (
IN CHAR16 *EnvironmentVariable,

View File

@ -144,7 +144,7 @@ EFI_DRIVER_BINDING_PROTOCOL gWinNtBusDriverBinding = {
// Table to map NT Environment variable to the GUID that should be in
// device path.
//
static NT_PCD_ENTRY mPcdEnvironment[] = {
NT_PCD_ENTRY mPcdEnvironment[] = {
PcdToken(PcdWinNtConsole), &gEfiWinNtConsoleGuid,
PcdToken(PcdWinNtGop), &gEfiWinNtGopGuid,
PcdToken(PcdWinNtSerialPort), &gEfiWinNtSerialPortGuid,

View File

@ -23,7 +23,6 @@ Abstract:
**/
#include "WinNtGop.h"
STATIC
EFI_STATUS
FreeNotifyList (
IN OUT LIST_ENTRY *ListHead

View File

@ -158,7 +158,6 @@ GopPrivateCheckQ (
return EFI_SUCCESS;
}
STATIC
BOOLEAN
GopPrivateIsKeyRegistered (
IN EFI_KEY_DATA *RegsiteredData,
@ -205,7 +204,6 @@ Returns:
}
STATIC
VOID
GopPrivateInvokeRegisteredFunction (
IN GOP_PRIVATE_DATA *Private,
@ -245,7 +243,6 @@ Returns:
}
}
STATIC
EFI_STATUS
GopPrivateUpdateStatusLight (
IN GOP_PRIVATE_DATA *Private
@ -277,7 +274,6 @@ Returns:
}
STATIC
EFI_STATUS
GopPrivateResetWorker (
IN GOP_PRIVATE_DATA *Private
@ -338,7 +334,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
GopPrivateReadKeyStrokeWorker (
IN GOP_PRIVATE_DATA *Private,
@ -491,7 +486,6 @@ WinNtGopSimpleTextInReset (
@return TODO: add return values
**/
STATIC
EFI_STATUS
EFIAPI
WinNtGopSimpleTextInReadKeyStroke (
@ -525,7 +519,6 @@ WinNtGopSimpleTextInReadKeyStroke (
@return TODO: add return values
**/
STATIC
VOID
EFIAPI
WinNtGopSimpleTextInWaitForKey (
@ -570,7 +563,6 @@ WinNtGopSimpleTextInWaitForKey (
// Simple Text Input Ex protocol functions
//
STATIC
EFI_STATUS
EFIAPI
WinNtGopSimpleTextInExResetEx (
@ -598,7 +590,6 @@ WinNtGopSimpleTextInExResetEx (
return GopPrivateResetWorker (Private);
}
STATIC
EFI_STATUS
EFIAPI
WinNtGopSimpleTextInExReadKeyStrokeEx (

View File

@ -27,7 +27,7 @@ Abstract:
EFI_WIN_NT_THUNK_PROTOCOL *mWinNt;
DWORD mTlsIndex = TLS_OUT_OF_INDEXES;
DWORD mTlsIndexUseCount = 0; // lets us know when we can free mTlsIndex.
static EFI_EVENT mGopScreenExitBootServicesEvent;
EFI_EVENT mGopScreenExitBootServicesEvent;
GOP_MODE_DATA mGopModeData[] = {
{800, 600, 0, 0},
{640, 480, 0, 0},
@ -45,7 +45,6 @@ WinNtGopStartWindow (
IN UINT32 RefreshRate
);
STATIC
VOID
EFIAPI
KillNtGopThread (
@ -53,7 +52,6 @@ KillNtGopThread (
IN VOID *Context
);
STATIC
VOID
WinNtGopConvertParamToEfiKeyShiftState (
IN GOP_PRIVATE_DATA *Private,
@ -93,7 +91,6 @@ WinNtGopConvertParamToEfiKeyShiftState (
}
}
STATIC
VOID
WinNtGopConvertParamToEfiKey (
IN GOP_PRIVATE_DATA *Private,
@ -1110,7 +1107,6 @@ WinNtGopDestructor (
@return None.
**/
STATIC
VOID
EFIAPI
KillNtGopThread (

View File

@ -97,7 +97,6 @@ InitializeWinNtSerialIo(
return Status;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoDriverBindingSupported (
@ -228,7 +227,6 @@ Error:
return Status;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoDriverBindingStart (
@ -534,7 +532,6 @@ Error:
return Status;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoDriverBindingStop (
@ -662,7 +659,6 @@ Returns:
// Serial IO Protocol member functions
//
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoReset (
@ -709,7 +705,6 @@ Returns:
);
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoSetAttributes (
@ -975,7 +970,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoSetControl (
@ -1071,7 +1065,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoGetControl (
@ -1186,7 +1179,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoWrite (
@ -1290,7 +1282,6 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoRead (

View File

@ -188,7 +188,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoDriverBindingSupported (
@ -215,7 +214,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoDriverBindingStart (
@ -242,7 +240,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoDriverBindingStop (
@ -271,7 +268,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoReset (
@ -294,7 +290,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoSetAttributes (
@ -329,7 +324,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoSetControl (
@ -354,7 +348,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoGetControl (
@ -379,7 +372,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoWrite (
@ -406,7 +398,6 @@ Returns:
--*/
;
STATIC
EFI_STATUS
EFIAPI
WinNtSerialIoRead (

View File

@ -1406,7 +1406,6 @@ Returns:
return Status;
}
STATIC
VOID
WinNtSystemTimeToEfiTime (
IN SYSTEMTIME *SystemTime,
@ -1908,7 +1907,6 @@ Done:
return Status;
}
STATIC
EFI_STATUS
WinNtSimpleFileSystemFileInfo (
IN WIN_NT_EFI_FILE_PRIVATE *PrivateFile,

View File

@ -48,7 +48,7 @@ Abstract:
//
// WinNtThunk Device Path Protocol Instance
//
static WIN_NT_THUNK_DEVICE_PATH mWinNtThunkDevicePath = {
WIN_NT_THUNK_DEVICE_PATH mWinNtThunkDevicePath = {
{
HARDWARE_DEVICE_PATH,
HW_VENDOR_DP,