diff options
author | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-02-27 22:15:36 +0000 |
---|---|---|
committer | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-02-27 22:15:36 +0000 |
commit | 985fef803ea21a6aed47d9e038dc43c73e3c0296 (patch) | |
tree | 6c1edee74fc27129c049290bac03ca40b5054327 /StdLib/EfiSocketLib | |
parent | 0b1ef27500a2c5cb5ea248d808dd73cc90335d7f (diff) | |
download | edk2-platforms-985fef803ea21a6aed47d9e038dc43c73e3c0296.tar.xz |
Otherwise gcc can default to the "sysv_abi" (as opposed to the "ms_abi") calling convention on X64, causing problems like <http://sourceforge.net/mailarchive/message.php?msg_id=30356166>.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14148 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/EfiSocketLib')
-rw-r--r-- | StdLib/EfiSocketLib/Socket.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StdLib/EfiSocketLib/Socket.h b/StdLib/EfiSocketLib/Socket.h index 81f8437dd2..b38bec6bde 100644 --- a/StdLib/EfiSocketLib/Socket.h +++ b/StdLib/EfiSocketLib/Socket.h @@ -362,7 +362,7 @@ typedef struct { **/
typedef
EFI_STATUS
-(* PFN_NET_CONFIGURE) (
+(EFIAPI * PFN_NET_CONFIGURE) (
IN VOID * pProtocol,
IN VOID * pConfigData
);
@@ -378,7 +378,7 @@ EFI_STATUS **/
typedef
EFI_STATUS
-(* PFN_NET_IO_START) (
+(EFIAPI * PFN_NET_IO_START) (
IN VOID * pProtocol,
IN VOID * pToken
);
@@ -394,7 +394,7 @@ EFI_STATUS **/
typedef
EFI_STATUS
-(* PFN_NET_POLL) (
+(EFIAPI * PFN_NET_POLL) (
IN VOID * pProtocol
);
|