From e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a Mon Sep 17 00:00:00 2001 From: geekboy15a Date: Fri, 16 Apr 2010 23:24:45 +0000 Subject: Fixed GCC 4.4 build issues due to EFIAPI not being used when required. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10379 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 1 + MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 12 ++++++++++++ MdeModulePkg/Library/DxeNetLib/NetBuffer.c | 2 ++ MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c | 2 ++ 4 files changed, 17 insertions(+) (limited to 'MdeModulePkg/Library') diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c index d5fddb678f..887fb3084b 100644 --- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c +++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c @@ -587,6 +587,7 @@ IpIoIcmpHandler ( **/ VOID +EFIAPI IpIoExtFree ( IN VOID *Event ) diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c index 034031d09f..bc34f8ff0d 100644 --- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c +++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c @@ -443,6 +443,7 @@ SyslogBuildPacket ( **/ CHAR8 * +EFIAPI NetDebugASPrint ( IN CHAR8 *Format, ... @@ -482,6 +483,7 @@ NetDebugASPrint ( than the mNetDebugLevelMax. Or, it has been sent out. **/ EFI_STATUS +EFIAPI NetDebugOutput ( IN UINT32 Level, IN UINT8 *Module, @@ -676,6 +678,7 @@ NetIp4IsUnicast ( **/ BOOLEAN +EFIAPI NetIp6IsValidUnicast ( IN EFI_IPv6_ADDRESS *Ip6 ) @@ -712,6 +715,7 @@ NetIp6IsValidUnicast ( **/ BOOLEAN +EFIAPI NetIp6IsUnspecifiedAddr ( IN EFI_IPv6_ADDRESS *Ip6 ) @@ -737,6 +741,7 @@ NetIp6IsUnspecifiedAddr ( **/ BOOLEAN +EFIAPI NetIp6IsLinkLocalAddr ( IN EFI_IPv6_ADDRESS *Ip6 ) @@ -774,6 +779,7 @@ NetIp6IsLinkLocalAddr ( **/ BOOLEAN +EFIAPI NetIp6IsNetEqual ( EFI_IPv6_ADDRESS *Ip1, EFI_IPv6_ADDRESS *Ip2, @@ -823,6 +829,7 @@ NetIp6IsNetEqual ( **/ EFI_IPv6_ADDRESS * +EFIAPI Ip6Swap128 ( EFI_IPv6_ADDRESS *Ip6 ) @@ -2630,6 +2637,7 @@ NetLibGetNicHandle ( **/ EFI_STATUS +EFIAPI NetLibAsciiStrToIp4 ( IN CONST CHAR8 *String, OUT EFI_IPv4_ADDRESS *Ip4Address @@ -2696,6 +2704,7 @@ NetLibAsciiStrToIp4 ( **/ EFI_STATUS +EFIAPI NetLibAsciiStrToIp6 ( IN CONST CHAR8 *String, OUT EFI_IPv6_ADDRESS *Ip6Address @@ -2839,6 +2848,7 @@ NetLibAsciiStrToIp6 ( **/ EFI_STATUS +EFIAPI NetLibStrToIp4 ( IN CONST CHAR16 *String, OUT EFI_IPv4_ADDRESS *Ip4Address @@ -2879,6 +2889,7 @@ NetLibStrToIp4 ( **/ EFI_STATUS +EFIAPI NetLibStrToIp6 ( IN CONST CHAR16 *String, OUT EFI_IPv6_ADDRESS *Ip6Address @@ -2920,6 +2931,7 @@ NetLibStrToIp6 ( **/ EFI_STATUS +EFIAPI NetLibStrToIp6andPrefix ( IN CONST CHAR16 *String, OUT EFI_IPv6_ADDRESS *Ip6Address, diff --git a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c index 139735e2cb..f29ef96331 100644 --- a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c +++ b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c @@ -497,6 +497,7 @@ NetbufSetBlockOp ( **/ VOID +EFIAPI NetbufGetFragmentFree ( IN VOID *Arg ) @@ -1817,6 +1818,7 @@ NetPseudoHeadChecksum ( **/ UINT16 +EFIAPI NetIp6PseudoHeadChecksum ( IN EFI_IPv6_ADDRESS *Src, IN EFI_IPv6_ADDRESS *Dst, diff --git a/MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c b/MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c index afcde8199a..a27f03aab9 100644 --- a/MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c +++ b/MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c @@ -130,6 +130,7 @@ UdpIoOnDgramSent ( **/ VOID +EFIAPI UdpIoRecycleDgram ( IN VOID *Context ) @@ -970,6 +971,7 @@ UdpIoSendDatagram ( @retval FALSE The packet is not to be cancelled. **/ BOOLEAN +EFIAPI UdpIoCancelSingleDgram ( IN UDP_TX_TOKEN *Token, IN VOID *Context -- cgit v1.2.3