diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-04 09:37:28 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-04 09:37:28 +0000 |
commit | ed66e1bc0d2be0a185fc47adab4930c3b7e2767f (patch) | |
tree | 5709b407529f37f5a069d36ec5a0d3b04db9c3ba /MdeModulePkg/Universal/Network/PxeBcDxe | |
parent | 1f3a753ee68ac1c7a620e8064fdda718cf413761 (diff) | |
download | edk2-platforms-ed66e1bc0d2be0a185fc47adab4930c3b7e2767f.tar.xz |
clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/PxeBcDxe')
-rw-r--r-- | MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h | 63 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h | 84 |
2 files changed, 49 insertions, 98 deletions
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h index 0d1e3f7868..56c139371f 100644 --- a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h +++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h @@ -188,16 +188,14 @@ PxebcBisStart ( PXE_BASECODE_DEVICE *Private,
BIS_APPLICATION_HANDLE *BisAppHandle,
EFI_BIS_DATA **BisDataSigInfo
- )
-;
+ );
VOID
PxebcBisStop (
EFI_BIS_PROTOCOL *Bis,
BIS_APPLICATION_HANDLE BisAppHandle,
EFI_BIS_DATA *BisDataSigInfo
- )
-;
+ );
BOOLEAN
PxebcBisVerify (
@@ -206,14 +204,12 @@ PxebcBisVerify ( UINTN FileBufferLength,
VOID *CredentialBuffer,
UINTN CredentialBufferLength
- )
-;
+ );
BOOLEAN
PxebcBisDetect (
PXE_BASECODE_DEVICE *Private
- )
-;
+ );
//
// Global Variables
@@ -240,31 +236,27 @@ EFIAPI InitializeBCDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
BcStart (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN BOOLEAN UseIpv6
- )
-;
+ );
EFI_STATUS
EFIAPI
BcStop (
IN EFI_PXE_BASE_CODE_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
BcDhcp (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN BOOLEAN SortOffers
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -274,8 +266,7 @@ BcDiscover ( IN UINT16 *Layer,
IN BOOLEAN UseBis,
IN EFI_PXE_BASE_CODE_DISCOVER_INFO * Info OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -290,8 +281,7 @@ BcMtftp ( IN UINT8 *Filename,
IN EFI_PXE_BASE_CODE_MTFTP_INFO * Info OPTIONAL,
IN BOOLEAN DontUseBuffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -307,8 +297,7 @@ BcUdpWrite ( IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -323,8 +312,7 @@ BcUdpRead ( IN VOID *HeaderPtr, OPTIONAL
IN OUT UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -345,8 +333,7 @@ BcTcpWrite ( IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -361,8 +348,7 @@ BcTcpRead ( IN VOID *HeaderPtr, OPTIONAL
IN OUT UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -370,16 +356,14 @@ BcArp ( IN EFI_PXE_BASE_CODE_PROTOCOL * This,
IN EFI_IP_ADDRESS * IpAddr,
IN EFI_MAC_ADDRESS * MacAddr OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
BcIpFilter (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN EFI_PXE_BASE_CODE_IP_FILTER *NewFilter
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -390,8 +374,7 @@ BcSetParameters ( IN UINT8 *NewTTL, OPTIONAL
IN UINT8 *NewToS, OPTIONAL
IN BOOLEAN *NewMakeCallback OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -399,8 +382,7 @@ BcSetStationIP ( IN EFI_PXE_BASE_CODE_PROTOCOL * This,
IN EFI_IP_ADDRESS * NewStationIp, OPTIONAL
IN EFI_IP_ADDRESS * NewSubnetMask OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -418,8 +400,7 @@ BcSetPackets ( IN EFI_PXE_BASE_CODE_PACKET * NewPxeDiscover, OPTIONAL
IN EFI_PXE_BASE_CODE_PACKET * NewPxeReply, OPTIONAL
IN EFI_PXE_BASE_CODE_PACKET * NewPxeBisReply OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -429,15 +410,13 @@ LoadFile ( IN BOOLEAN BootPolicy,
IN OUT UINTN *BufferSize,
IN VOID *Buffer
- )
-;
+ );
EFI_STATUS
PxeBcLibGetSmbiosSystemGuidAndSerialNumber (
IN EFI_GUID *SystemGuid,
OUT CHAR8 **SystemSerialNumber
- )
-;
+ );
#include "Ip.h"
#include "Dhcp.h"
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h index 29f143961a..158fce60ad 100644 --- a/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h +++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h @@ -431,8 +431,7 @@ EFI_STATUS IpFilter (
PXE_BASECODE_DEVICE *Private,
IN EFI_PXE_BASE_CODE_IP_FILTER *Filter
- )
-;
+ );
//
// //////////////////////////////////////////////////////////////////////
@@ -452,8 +451,7 @@ UdpWrite ( IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSizePtr,
IN VOID *BufferPtr
- )
-;
+ );
//
// /////////////////////////////////////////////////////////////////////
@@ -473,22 +471,19 @@ UdpRead ( IN OUT UINTN *BufferSizePtr,
IN VOID *BufferPtr,
IN EFI_EVENT TimeoutEvent
- )
-;
+ );
VOID
IgmpLeaveGroup (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *
- )
-;
+ );
VOID
IgmpJoinGroup (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *
- )
-;
+ );
//
// convert number to zero filled ascii value of length lth
@@ -498,8 +493,7 @@ CvtNum ( UINTN Number,
UINT8 *BufferPtr,
INTN BufferLen
- )
-;
+ );
//
// convert number to ascii string at ptr
@@ -508,8 +502,7 @@ VOID UtoA10 (
UINTN Number,
UINT8 *BufferPtr
- )
-;
+ );
//
// convert ascii numeric string to UINTN
@@ -517,14 +510,12 @@ UtoA10 ( UINTN
AtoU (
UINT8 *BufferPtr
- )
-;
+ );
UINT64
AtoU64 (
UINT8 *BufferPtr
- )
-;
+ );
//
// calculate the internet checksum (RFC 1071)
@@ -534,8 +525,7 @@ UINT16 IpChecksum (
UINT16 *MessagePtr,
UINTN ByteLength
- )
-;
+ );
//
// do checksum on non contiguous header and data
@@ -546,8 +536,7 @@ IpChecksum2 ( UINTN HeaderLength,
UINT16 *Message,
UINTN MessageLength
- )
-;
+ );
//
// update checksum when only a single word changes
@@ -557,21 +546,18 @@ UpdateChecksum ( UINT16 OldChecksum,
UINT16 OldWord,
UINT16 NewWord
- )
-;
+ );
VOID
SeedRandom (
IN PXE_BASECODE_DEVICE *Private,
IN UINT16 InitialSeed
- )
-;
+ );
UINT16
Random (
IN PXE_BASECODE_DEVICE *Private
- )
-;
+ );
EFI_STATUS
SendPacket (
@@ -582,30 +568,26 @@ SendPacket ( VOID *HardwareAddress,
UINT16 MediaProtocol,
IN EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
VOID
HandleArpReceive (
PXE_BASECODE_DEVICE *Private,
ARP_PACKET *ArpPacketPtr,
VOID *HeaderPtr
- )
-;
+ );
VOID
HandleIgmp (
PXE_BASECODE_DEVICE *Private,
IGMPV2_MESSAGE *IgmpMessageptr,
UINTN IgmpMessageLen
- )
-;
+ );
VOID
IgmpCheckTimers (
PXE_BASECODE_DEVICE *Private
- )
-; // poll when doing a receive
+ ); // poll when doing a receive
// return hw add of IP and TRUE if available, otherwise FALSE
//
BOOLEAN
@@ -613,16 +595,14 @@ GetHwAddr ( IN PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *ProtocolAddressPtr,
EFI_MAC_ADDRESS *HardwareAddressPtr
- )
-;
+ );
EFI_STATUS
DoArp (
IN PXE_BASECODE_DEVICE *Private,
IN EFI_IP_ADDRESS *ProtocolAddressPtr,
OUT EFI_MAC_ADDRESS *HardwareAddressptr
- )
-;
+ );
BOOLEAN
OnSameSubnet (
@@ -630,15 +610,13 @@ OnSameSubnet ( EFI_IP_ADDRESS *Ip1,
EFI_IP_ADDRESS *Ip2,
EFI_IP_ADDRESS *SubnetMask
- )
-;
+ );
VOID
IpAddRouter (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *RouterIp
- )
-;
+ );
#define Ip4AddRouter(Private, Ipv4Ptr) IpAddRouter (Private, (EFI_IP_ADDRESS *) Ipv4Ptr)
@@ -656,8 +634,7 @@ Ipv4Xmt ( VOID *Data,
UINTN DataLen,
EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
//
// send ipv4 packet with ipv4 option
@@ -673,8 +650,7 @@ Ipv4SendWOp ( UINTN OptionLen,
UINT32 DestIp,
EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
//
// send MsgLth message at MsgPtr - higher level protocol header already in xmtbuf, length HdrSize
@@ -690,8 +666,7 @@ Ip4Send ( IN UINTN HeaderSize, // protocol header byte length
IN UINT8 *MsgPtr, // pointer to data
IN UINTN MsgLength
- )
-; // data byte length
+ ); // data byte length
// receive up to MsgLth message into MsgPtr for protocol Prot
// return message length, src/dest ips if select any, and pointer to protocol header
//
@@ -707,15 +682,13 @@ IpReceive ( UINT8 *MsgPtr, // pointer to data buffer
UINTN *MsgLenPtr, // pointer to data buffer length/ O - returned data length
IN EFI_EVENT TimeoutEvent
- )
-;
+ );
#if 0
VOID
WaitForTxComplete (
IN PXE_BASECODE_DEVICE *Private
- )
-;
+ );
#endif
//
// routine to cycle waiting for a receive or timeout
@@ -728,8 +701,7 @@ WaitForReceive ( IN OUT UINTN *HeaderSizePtr,
IN OUT UINTN *BufferSizePtr,
IN OUT UINT16 *ProtocolPtr
- )
-;
+ );
#endif /* _IP_H_ */
|