From: geekboy15a Date: Fri, 16 Apr 2010 22:40:15 +0000 (+0000) Subject: Fixed GCC 4.4 build issue. All protocols and public interfaces must specify EFIAPI... X-Git-Tag: edk2-stable201903~15964 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=66c95e799aba51b18fe7c7581c50ad7b83ee39b0 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 --- 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