msvcrt: Add some missing CDECL.

This commit is contained in:
Marcus Meissner 2010-05-12 17:15:29 +02:00 committed by Alexandre Julliard
parent 2ecd1dfaba
commit f10af18f28
4 changed files with 5 additions and 5 deletions

View File

@ -576,7 +576,7 @@ static BOOL WINAPI msvcrt_console_handler(DWORD ctrlType)
return ret;
}
typedef void (*float_handler)(int, int);
typedef void (CDECL *float_handler)(int, int);
/* The exception codes are actually NTSTATUS values */
static const struct

View File

@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
~(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 int MSVCRT_new_mode;

View File

@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
#define signbit(x) 0
#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;

View File

@ -88,7 +88,7 @@ void CDECL MSVCRT__sleep(MSVCRT_ulong timeout)
*/
void* CDECL _lfind(const void* match, const void* start,
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;
if (size)
@ -106,7 +106,7 @@ void* CDECL _lfind(const void* match, const void* start,
*/
void* CDECL _lsearch(const void* match, void* start,
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;
if (size)