From 66c95e799aba51b18fe7c7581c50ad7b83ee39b0 Mon Sep 17 00:00:00 2001 From: geekboy15a Date: Fri, 16 Apr 2010 22:40:15 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Protocol/Dhcp6.h | 4 ++-- 1 file 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