Maarten Lankhorst : ntoskrnl.exe/winedevice: Make wine_ntoskrnl_main_loop CDECL.
Alexandre Julliard
julliard at winehq.org
Wed Dec 17 09:39:50 CST 2008
Module: wine
Branch: master
Commit: f00beab5c4d1ca106500912c69f618770d369371
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f00beab5c4d1ca106500912c69f618770d369371
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Tue Dec 16 15:36:59 2008 +0100
ntoskrnl.exe/winedevice: Make wine_ntoskrnl_main_loop CDECL.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 2 +-
programs/winedevice/device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index a669d3b..227e393 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -191,7 +191,7 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff,
/***********************************************************************
* wine_ntoskrnl_main_loop (Not a Windows API)
*/
-NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
+NTSTATUS CDECL wine_ntoskrnl_main_loop( HANDLE stop_event )
{
HANDLE manager = get_device_manager();
obj_handle_t ioctl = 0;
diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index 7afe97e..5677e19 100644
--- a/programs/winedevice/device.c
+++ b/programs/winedevice/device.c
@@ -38,7 +38,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(winedevice);
WINE_DECLARE_DEBUG_CHANNEL(relay);
-extern NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event );
+extern NTSTATUS CDECL wine_ntoskrnl_main_loop( HANDLE stop_event );
static WCHAR *driver_name;
static SERVICE_STATUS_HANDLE service_handle;
More information about the wine-cvs
mailing list