summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-16 22:40:15 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-16 22:40:15 +0000
commit66c95e799aba51b18fe7c7581c50ad7b83ee39b0 (patch)
treed370c48b628ed79309f63e6516fa71148218447f /MdePkg
parent4e57f2409839ca854c898f2acafa6b893f096f1a (diff)
downloadedk2-platforms-66c95e799aba51b18fe7c7581c50ad7b83ee39b0.tar.xz
Fixed GCC 4.4 build issue. All protocols and public interfaces must specify EFIAPI to enforce the expected calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10378 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/Dhcp6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/Dhcp6.h b/MdePkg/Include/Protocol/Dhcp6.h
index a7d0c57655..ed3c9c914a 100644
--- a/MdePkg/Include/Protocol/Dhcp6.h
+++ b/MdePkg/Include/Protocol/Dhcp6.h
@@ -321,7 +321,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(*EFI_DHCP6_CALLBACK)(
+(EFIAPI *EFI_DHCP6_CALLBACK)(
IN EFI_DHCP6_PROTOCOL *This,
IN VOID *Context,
IN EFI_DHCP6_STATE CurrentState,
@@ -400,7 +400,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(*EFI_DHCP6_INFO_CALLBACK)(
+(EFIAPI *EFI_DHCP6_INFO_CALLBACK)(
IN EFI_DHCP6_PROTOCOL *This,
IN VOID *Context,
IN EFI_DHCP6_PACKET *Packet