msvcrt: Add missing __cdecl on some function pointers.
This commit is contained in:
parent
62d6a4e9f7
commit
558732ef09
|
@ -598,7 +598,7 @@ struct MSVCRT__stat64 {
|
||||||
#define MSVCRT_SIGABRT 22
|
#define MSVCRT_SIGABRT 22
|
||||||
#define MSVCRT_NSIG (MSVCRT_SIGABRT + 1)
|
#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_DFL ((MSVCRT___sighandler_t)0)
|
||||||
#define MSVCRT_SIG_IGN ((MSVCRT___sighandler_t)1)
|
#define MSVCRT_SIG_IGN ((MSVCRT___sighandler_t)1)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#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 *);
|
typedef unsigned int (__stdcall *_beginthreadex_start_routine_t)(void *);
|
||||||
|
|
||||||
uintptr_t __cdecl _beginthread(_beginthread_start_routine_t,unsigned int,void*);
|
uintptr_t __cdecl _beginthread(_beginthread_start_routine_t,unsigned int,void*);
|
||||||
|
|
Loading…
Reference in New Issue