summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeNetLib
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-16 23:24:45 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-16 23:24:45 +0000
commite798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a (patch)
tree46b6cbe6e62032969fdac69763e01787c3151591 /MdeModulePkg/Library/DxeNetLib
parent66c95e799aba51b18fe7c7581c50ad7b83ee39b0 (diff)
downloadedk2-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/DxeNetLib')
-rw-r--r--MdeModulePkg/Library/DxeNetLib/DxeNetLib.c12
-rw-r--r--MdeModulePkg/Library/DxeNetLib/NetBuffer.c2
2 files changed, 14 insertions, 0 deletions
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,