From c911eff7b403836ded4e57536e30d70cf969ccbf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 18 Jun 2019 11:33:16 +0200 Subject: [PATCH] ntdll: Make wine_server_call() cdecl. Signed-off-by: Alexandre Julliard --- dlls/ntdll/server.c | 2 +- include/wine/server.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c index 094b5309500..8274f119bcb 100644 --- a/dlls/ntdll/server.c +++ b/dlls/ntdll/server.c @@ -312,7 +312,7 @@ unsigned int server_call_unlocked( void *req_ptr ) *| } *| SERVER_END_REQ; */ -unsigned int wine_server_call( void *req_ptr ) +unsigned int CDECL wine_server_call( void *req_ptr ) { sigset_t old_set; unsigned int ret; diff --git a/include/wine/server.h b/include/wine/server.h index d573d1f7ad4..ac5dcc6f8bc 100644 --- a/include/wine/server.h +++ b/include/wine/server.h @@ -49,7 +49,7 @@ struct __server_request_info struct __server_iovec data[__SERVER_MAX_DATA]; /* request variable size data */ }; -extern unsigned int wine_server_call( void *req_ptr ); +extern unsigned int CDECL wine_server_call( void *req_ptr ); extern void CDECL wine_server_send_fd( int fd ); extern int CDECL wine_server_fd_to_handle( int fd, unsigned int access, unsigned int attributes, HANDLE *handle ); extern int CDECL wine_server_handle_to_fd( HANDLE handle, unsigned int access, int *unix_fd, unsigned int *options );