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
This commit is contained in:
@ -22,8 +22,8 @@
|
|||||||
//
|
//
|
||||||
// Globle varible to cache pointer to CpuIo protocol.
|
// Globle varible to cache pointer to CpuIo protocol.
|
||||||
//
|
//
|
||||||
STATIC EFI_CPU_IO_PROTOCOL *mCpuIo = NULL;
|
EFI_CPU_IO_PROTOCOL *mCpuIo = NULL;
|
||||||
STATIC EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *mPciRootBridgeIo = NULL;
|
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *mPciRootBridgeIo = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The constructor function caches the pointer to CpuIo protocol.
|
The constructor function caches the pointer to CpuIo protocol.
|
||||||
|
@ -36,7 +36,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
@return The size of a device path in bytes.
|
@return The size of a device path in bytes.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
STATIC
|
|
||||||
UINTN
|
UINTN
|
||||||
EFIAPI
|
EFIAPI
|
||||||
SmmGetDevicePathSize (
|
SmmGetDevicePathSize (
|
||||||
|
@ -391,7 +391,6 @@ AddOpCode (
|
|||||||
|
|
||||||
@return the statue of locating HII protocol
|
@return the statue of locating HII protocol
|
||||||
**/
|
**/
|
||||||
STATIC
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
GetHiiInterface (
|
GetHiiInterface (
|
||||||
OUT EFI_HII_PROTOCOL **Hii
|
OUT EFI_HII_PROTOCOL **Hii
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
@retval FALSE Language 1 and language 2 are not the same.
|
@retval FALSE Language 1 and language 2 are not the same.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
STATIC
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
CompareIso639LanguageCode (
|
CompareIso639LanguageCode (
|
||||||
IN CONST CHAR8 *Language1,
|
IN CONST CHAR8 *Language1,
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
STATIC
|
|
||||||
UINTN
|
UINTN
|
||||||
InternalPrint (
|
InternalPrint (
|
||||||
IN CONST CHAR16 *Format,
|
IN CONST CHAR16 *Format,
|
||||||
@ -156,7 +155,6 @@ ErrorPrint (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
STATIC
|
|
||||||
UINTN
|
UINTN
|
||||||
AsciiInternalPrint (
|
AsciiInternalPrint (
|
||||||
IN CONST CHAR8 *Format,
|
IN CONST CHAR8 *Format,
|
||||||
|
@ -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.
|
checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
STATIC
|
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
InternalEmptyFuntion (
|
InternalEmptyFuntion (
|
||||||
|
Reference in New Issue
Block a user