msvcrt: Add some missing CDECL.
This commit is contained in:
parent
2ecd1dfaba
commit
f10af18f28
|
@ -576,7 +576,7 @@ static BOOL WINAPI msvcrt_console_handler(DWORD ctrlType)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef void (*float_handler)(int, int);
|
typedef void (CDECL *float_handler)(int, int);
|
||||||
|
|
||||||
/* The exception codes are actually NTSTATUS values */
|
/* The exception codes are actually NTSTATUS values */
|
||||||
static const struct
|
static const struct
|
||||||
|
|
|
@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
||||||
~(alignment - 1)) - offset))
|
~(alignment - 1)) - offset))
|
||||||
|
|
||||||
|
|
||||||
typedef void (*MSVCRT_new_handler_func)(MSVCRT_size_t size);
|
typedef void (CDECL *MSVCRT_new_handler_func)(MSVCRT_size_t size);
|
||||||
|
|
||||||
static MSVCRT_new_handler_func MSVCRT_new_handler;
|
static MSVCRT_new_handler_func MSVCRT_new_handler;
|
||||||
static int MSVCRT_new_mode;
|
static int MSVCRT_new_mode;
|
||||||
|
|
|
@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
||||||
#define signbit(x) 0
|
#define signbit(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int (*MSVCRT_matherr_func)(struct MSVCRT__exception *);
|
typedef int (CDECL *MSVCRT_matherr_func)(struct MSVCRT__exception *);
|
||||||
|
|
||||||
static MSVCRT_matherr_func MSVCRT_default_matherr_func = NULL;
|
static MSVCRT_matherr_func MSVCRT_default_matherr_func = NULL;
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ void CDECL MSVCRT__sleep(MSVCRT_ulong timeout)
|
||||||
*/
|
*/
|
||||||
void* CDECL _lfind(const void* match, const void* start,
|
void* CDECL _lfind(const void* match, const void* start,
|
||||||
unsigned int* array_size, unsigned int elem_size,
|
unsigned int* array_size, unsigned int elem_size,
|
||||||
int (*cf)(const void*,const void*) )
|
int (CDECL *cf)(const void*,const void*) )
|
||||||
{
|
{
|
||||||
unsigned int size = *array_size;
|
unsigned int size = *array_size;
|
||||||
if (size)
|
if (size)
|
||||||
|
@ -106,7 +106,7 @@ void* CDECL _lfind(const void* match, const void* start,
|
||||||
*/
|
*/
|
||||||
void* CDECL _lsearch(const void* match, void* start,
|
void* CDECL _lsearch(const void* match, void* start,
|
||||||
unsigned int* array_size, unsigned int elem_size,
|
unsigned int* array_size, unsigned int elem_size,
|
||||||
int (*cf)(const void*,const void*) )
|
int (CDECL *cf)(const void*,const void*) )
|
||||||
{
|
{
|
||||||
unsigned int size = *array_size;
|
unsigned int size = *array_size;
|
||||||
if (size)
|
if (size)
|
||||||
|
|
Loading…
Reference in New Issue