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@6296 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4
2008-10-30 06:05:06 +00:00
parent fe467413d2
commit fe1e36e550
97 changed files with 107 additions and 491 deletions

View File

@@ -22,7 +22,6 @@ Abstract:
#include "Mtftp4Impl.h"
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4ReadFile (
@@ -41,7 +40,6 @@ EfiMtftp4ReadFile (
@retval EFI_SUCCESS The operation parameter is saved in ModeData
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4GetModeData (
@@ -158,7 +156,6 @@ Mtftp4CleanOperation (
@retval EFI_SUCCESS The instance is configured for operation.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4Configure (
@@ -251,7 +248,6 @@ EfiMtftp4Configure (
@retval EFI_ABORTED Abort the ReadFile operation and return.
**/
STATIC
EFI_STATUS
Mtftp4GetInfoCheckPacket (
IN EFI_MTFTP4_PROTOCOL *This,
@@ -322,7 +318,6 @@ Mtftp4GetInfoCheckPacket (
@retval Others Failed to get the information.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4GetInfo (
@@ -399,7 +394,6 @@ EfiMtftp4GetInfo (
@retval EFI_SUCCESS The packet is parsed.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4ParseOptions (
@@ -444,7 +438,6 @@ EfiMtftp4ParseOptions (
@return TRUE if the override data is valid, otherwise FALSE.
**/
STATIC
BOOLEAN
Mtftp4OverrideValid (
IN MTFTP4_PROTOCOL *Instance,
@@ -547,7 +540,6 @@ Mtftp4GetMapping (
session to unicast receive.
**/
STATIC
EFI_STATUS
Mtftp4ConfigUnicastPort (
IN UDP_IO_PORT *UdpIo,
@@ -613,7 +605,6 @@ Mtftp4ConfigUnicastPort (
@retval EFI_SUCCESS The operation is successfully started.
**/
STATIC
EFI_STATUS
Mtftp4Start (
IN EFI_MTFTP4_PROTOCOL *This,
@@ -801,7 +792,6 @@ ON_ERROR:
@retval Others Some error happened.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4ReadFile (
@@ -825,7 +815,6 @@ EfiMtftp4ReadFile (
@retval Others Some error happened.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4WriteFile (
@@ -850,7 +839,6 @@ EfiMtftp4WriteFile (
@retval Others Some error happened.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4ReadDirectory (
@@ -872,7 +860,6 @@ EfiMtftp4ReadDirectory (
@retval EFI_DEVICE_ERROR The MTFTP session has been destoried.
**/
STATIC
EFI_STATUS
EFIAPI
EfiMtftp4Poll (

View File

@@ -44,7 +44,6 @@ CHAR8 *mMtftp4SupportedOptions[MTFTP4_SUPPORTED_OPTIONS] = {
@retval EFI_SUCCESS The packet has been parsed into the Options array.
**/
STATIC
EFI_STATUS
Mtftp4FillOptions (
IN EFI_MTFTP4_PACKET *Packet,
@@ -260,7 +259,6 @@ NetStringToU32 (
@retval EFI_SUCCESS The IP is parsed into the Ip
**/
STATIC
EFI_STATUS
NetStringToIp (
IN UINT8 *Str,
@@ -317,7 +315,6 @@ NetStringToIp (
@retval EFI_SUCCESS The multicast value is parsed into the Option
**/
STATIC
EFI_STATUS
Mtftp4ExtractMcast (
IN UINT8 *Value,

View File

@@ -371,7 +371,6 @@ Mtftp4RrqOackValid (
@retval Others Failed to configure the UDP child.
**/
STATIC
EFI_STATUS
Mtftp4RrqConfigMcastPort (
IN UDP_IO_PORT *McastIo,

View File

@@ -33,7 +33,6 @@ Abstract:
@return NULL if failed to allocate memory, otherwise the created block range.
**/
STATIC
MTFTP4_BLOCK_RANGE *
Mtftp4AllocateRange (
IN UINT16 Start,
@@ -372,7 +371,6 @@ Mtftp4SendError (
@return None
**/
STATIC
VOID
Mtftp4OnPacketSent (
NET_BUF *Packet,