Fixed GCC 4.4 build issue. All protocols and public interfaces must specify EFIAPI...
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Apr 2010 22:40:15 +0000 (22:40 +0000)
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Apr 2010 22:40:15 +0000 (22:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10378 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/Dhcp6.h

index a7d0c5765576099a81098c2a7308340c3064d8ed..ed3c9c914a474c58ef0ea3c1e5460d53bc9b4387 100644 (file)
@@ -321,7 +321,7 @@ typedef struct {
 **/\r
 typedef \r
 EFI_STATUS \r
-(*EFI_DHCP6_CALLBACK)(\r
+(EFIAPI *EFI_DHCP6_CALLBACK)(\r
   IN EFI_DHCP6_PROTOCOL        *This,\r
   IN VOID                      *Context,\r
   IN EFI_DHCP6_STATE           CurrentState,\r
@@ -400,7 +400,7 @@ typedef struct {
 **/\r
 typedef\r
 EFI_STATUS\r
-(*EFI_DHCP6_INFO_CALLBACK)(\r
+(EFIAPI *EFI_DHCP6_INFO_CALLBACK)(\r
   IN EFI_DHCP6_PROTOCOL        *This,\r
   IN VOID                      *Context,\r
   IN EFI_DHCP6_PACKET          *Packet\r