Alexandre Julliard : msvcrt: Add missing __cdecl on some function pointers.
Alexandre Julliard
julliard at winehq.org
Sun Jan 4 09:08:52 CST 2009
Module: wine
Branch: master
Commit: 558732ef098660ee47cf56659bb1b48a4bc68f68
URL: http://source.winehq.org/git/wine.git/?a=commit;h=558732ef098660ee47cf56659bb1b48a4bc68f68
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Jan 3 18:43:00 2009 +0100
msvcrt: Add missing __cdecl on some function pointers.
---
dlls/msvcrt/msvcrt.h | 2 +-
include/msvcrt/process.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 1645570..28d8f54 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -598,7 +598,7 @@ struct MSVCRT__stat64 {
#define MSVCRT_SIGABRT 22
#define MSVCRT_NSIG (MSVCRT_SIGABRT + 1)
-typedef void (*MSVCRT___sighandler_t)(int);
+typedef void (__cdecl *MSVCRT___sighandler_t)(int);
#define MSVCRT_SIG_DFL ((MSVCRT___sighandler_t)0)
#define MSVCRT_SIG_IGN ((MSVCRT___sighandler_t)1)
diff --git a/include/msvcrt/process.h b/include/msvcrt/process.h
index c02dbcf..7530ab0 100644
--- a/include/msvcrt/process.h
+++ b/include/msvcrt/process.h
@@ -24,7 +24,7 @@
extern "C" {
#endif
-typedef void (*_beginthread_start_routine_t)(void *);
+typedef void (__cdecl *_beginthread_start_routine_t)(void *);
typedef unsigned int (__stdcall *_beginthreadex_start_routine_t)(void *);
uintptr_t __cdecl _beginthread(_beginthread_start_routine_t,unsigned int,void*);
More information about the wine-cvs
mailing list