msvcrt: Add missing __cdecl on some function pointers.
authorAlexandre Julliard <julliard@winehq.org>
Sat, 3 Jan 2009 17:43:00 +0000 (18:43 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 3 Jan 2009 17:43:00 +0000 (18:43 +0100)
dlls/msvcrt/msvcrt.h
include/msvcrt/process.h

index 1645570ca987235ac8f487bc006719ebc58f5931..28d8f5491d024dfca3dfeb44cd4a757c083cf0c4 100644 (file)
@@ -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)
index c02dbcf994ac82cf97f90d25118382e3d895224f..7530ab00e3cf846be37516bda40cf80c4dcf1323 100644 (file)
@@ -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*);