diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 23:24:45 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 23:24:45 +0000 |
commit | e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a (patch) | |
tree | 46b6cbe6e62032969fdac69763e01787c3151591 /MdeModulePkg/Library | |
parent | 66c95e799aba51b18fe7c7581c50ad7b83ee39b0 (diff) | |
download | edk2-platforms-e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r-- | MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 1 | ||||
-rw-r--r-- | MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 12 | ||||
-rw-r--r-- | MdeModulePkg/Library/DxeNetLib/NetBuffer.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c | 2 |
4 files changed, 17 insertions, 0 deletions
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
|