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/Include/Library/NetLib.h | |
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/Include/Library/NetLib.h')
-rw-r--r-- | MdeModulePkg/Include/Library/NetLib.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/MdeModulePkg/Include/Library/NetLib.h b/MdeModulePkg/Include/Library/NetLib.h index 71680a42b2..7f8cb15b0a 100644 --- a/MdeModulePkg/Include/Library/NetLib.h +++ b/MdeModulePkg/Include/Library/NetLib.h @@ -286,6 +286,7 @@ typedef struct { **/
CHAR8 *
+EFIAPI
NetDebugASPrint (
IN CHAR8 *Format,
...
@@ -309,6 +310,7 @@ NetDebugASPrint ( than the mNetDebugLevelMax. Or, it has been sent out.
**/
EFI_STATUS
+EFIAPI
NetDebugOutput (
IN UINT32 Level,
IN UINT8 *Module,
@@ -400,6 +402,7 @@ NetIp4IsUnicast ( **/
BOOLEAN
+EFIAPI
NetIp6IsValidUnicast (
IN EFI_IPv6_ADDRESS *Ip6
);
@@ -415,6 +418,7 @@ NetIp6IsValidUnicast ( **/
BOOLEAN
+EFIAPI
NetIp6IsUnspecifiedAddr (
IN EFI_IPv6_ADDRESS *Ip6
);
@@ -429,6 +433,7 @@ NetIp6IsUnspecifiedAddr ( **/
BOOLEAN
+EFIAPI
NetIp6IsLinkLocalAddr (
IN EFI_IPv6_ADDRESS *Ip6
);
@@ -445,6 +450,7 @@ NetIp6IsLinkLocalAddr ( **/
BOOLEAN
+EFIAPI
NetIp6IsNetEqual (
EFI_IPv6_ADDRESS *Ip1,
EFI_IPv6_ADDRESS *Ip2,
@@ -464,6 +470,7 @@ NetIp6IsNetEqual ( **/
EFI_IPv6_ADDRESS *
+EFIAPI
Ip6Swap128 (
EFI_IPv6_ADDRESS *Ip6
);
@@ -888,7 +895,7 @@ NetMapRemoveTail ( typedef
EFI_STATUS
-(*NET_MAP_CALLBACK) (
+(EFIAPI *NET_MAP_CALLBACK) (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
IN VOID *Arg
@@ -1241,6 +1248,7 @@ NetLibDefaultUnload ( **/
EFI_STATUS
+EFIAPI
NetLibAsciiStrToIp4 (
IN CONST CHAR8 *String,
OUT EFI_IPv4_ADDRESS *Ip4Address
@@ -1258,6 +1266,7 @@ NetLibAsciiStrToIp4 ( **/
EFI_STATUS
+EFIAPI
NetLibAsciiStrToIp6 (
IN CONST CHAR8 *String,
OUT EFI_IPv6_ADDRESS *Ip6Address
@@ -1275,6 +1284,7 @@ NetLibAsciiStrToIp6 ( **/
EFI_STATUS
+EFIAPI
NetLibStrToIp4 (
IN CONST CHAR16 *String,
OUT EFI_IPv4_ADDRESS *Ip4Address
@@ -1293,6 +1303,7 @@ NetLibStrToIp4 ( **/
EFI_STATUS
+EFIAPI
NetLibStrToIp6 (
IN CONST CHAR16 *String,
OUT EFI_IPv6_ADDRESS *Ip6Address
@@ -1313,6 +1324,7 @@ NetLibStrToIp6 ( **/
EFI_STATUS
+EFIAPI
NetLibStrToIp6andPrefix (
IN CONST CHAR16 *String,
OUT EFI_IPv6_ADDRESS *Ip6Address,
@@ -1343,7 +1355,7 @@ typedef struct { UINT8 *Bulk; // The block's Data
} NET_BLOCK;
-typedef VOID (*NET_VECTOR_EXT_FREE) (VOID *Arg);
+typedef VOID (EFIAPI *NET_VECTOR_EXT_FREE) (VOID *Arg);
//
//NET_VECTOR contains several blocks to hold all packet's
@@ -1983,6 +1995,7 @@ NetPseudoHeadChecksum ( **/
UINT16
+EFIAPI
NetIp6PseudoHeadChecksum (
IN EFI_IPv6_ADDRESS *Src,
IN EFI_IPv6_ADDRESS *Dst,
|