Commit 89cad8c4 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Use WINAPIV calling convention for variadic functions.

parent a27b202a
...@@ -57,7 +57,7 @@ typedef struct ...@@ -57,7 +57,7 @@ typedef struct
static ioinfo **__pioinfo; static ioinfo **__pioinfo;
static int (__cdecl *p__open)(const char *, int, ...); static int (WINAPIV *p__open)(const char *, int, ...);
static int (__cdecl *p__close)(int); static int (__cdecl *p__close)(int);
static intptr_t (__cdecl *p__get_osfhandle)(int); static intptr_t (__cdecl *p__get_osfhandle)(int);
static int (__cdecl *p_strcmp)(const char *, const char *); static int (__cdecl *p_strcmp)(const char *, const char *);
......
...@@ -111,7 +111,7 @@ static int (__cdecl *p_controlfp_s)(unsigned int *, unsigned int, unsigned int); ...@@ -111,7 +111,7 @@ static int (__cdecl *p_controlfp_s)(unsigned int *, unsigned int, unsigned int);
static int (__cdecl *p_tmpfile_s)(FILE**); static int (__cdecl *p_tmpfile_s)(FILE**);
static int (__cdecl *p_atoflt)(_CRT_FLOAT *, char *); static int (__cdecl *p_atoflt)(_CRT_FLOAT *, char *);
static unsigned int (__cdecl *p_set_abort_behavior)(unsigned int, unsigned int); static unsigned int (__cdecl *p_set_abort_behavior)(unsigned int, unsigned int);
static int (__cdecl *p__open)(const char *, int, ...); static int (WINAPIV *p__open)(const char *, int, ...);
static int (__cdecl *p__close)(int); static int (__cdecl *p__close)(int);
static intptr_t (__cdecl *p__get_osfhandle)(int); static intptr_t (__cdecl *p__get_osfhandle)(int);
static int (__cdecl *p_sopen_s)(int*, const char*, int, int, int); static int (__cdecl *p_sopen_s)(int*, const char*, int, int, int);
......
...@@ -5594,7 +5594,7 @@ int WINAPIV fprintf_s(FILE* file, const char *format, ...) ...@@ -5594,7 +5594,7 @@ int WINAPIV fprintf_s(FILE* file, const char *format, ...)
/********************************************************************* /*********************************************************************
* _fprintf_l (MSVCRT.@) * _fprintf_l (MSVCRT.@)
*/ */
int CDECL _fprintf_l(FILE* file, const char *format, _locale_t locale, ...) int WINAPIV _fprintf_l(FILE* file, const char *format, _locale_t locale, ...)
{ {
va_list valist; va_list valist;
int res; int res;
...@@ -5608,7 +5608,7 @@ int CDECL _fprintf_l(FILE* file, const char *format, _locale_t locale, ...) ...@@ -5608,7 +5608,7 @@ int CDECL _fprintf_l(FILE* file, const char *format, _locale_t locale, ...)
/********************************************************************* /*********************************************************************
* _fprintf_p (MSVCRT.@) * _fprintf_p (MSVCRT.@)
*/ */
int CDECL _fprintf_p(FILE* file, const char *format, ...) int WINAPIV _fprintf_p(FILE* file, const char *format, ...)
{ {
va_list valist; va_list valist;
int res; int res;
...@@ -5621,7 +5621,7 @@ int CDECL _fprintf_p(FILE* file, const char *format, ...) ...@@ -5621,7 +5621,7 @@ int CDECL _fprintf_p(FILE* file, const char *format, ...)
/********************************************************************* /*********************************************************************
* _fprintf_p_l (MSVCRT.@) * _fprintf_p_l (MSVCRT.@)
*/ */
int CDECL _fprintf_p_l(FILE* file, const char *format, _locale_t locale, ...) int WINAPIV _fprintf_p_l(FILE* file, const char *format, _locale_t locale, ...)
{ {
va_list valist; va_list valist;
int res; int res;
...@@ -5634,7 +5634,7 @@ int CDECL _fprintf_p_l(FILE* file, const char *format, _locale_t locale, ...) ...@@ -5634,7 +5634,7 @@ int CDECL _fprintf_p_l(FILE* file, const char *format, _locale_t locale, ...)
/********************************************************************* /*********************************************************************
* _fprintf_s_l (MSVCRT.@) * _fprintf_s_l (MSVCRT.@)
*/ */
int CDECL _fprintf_s_l(FILE* file, const char *format, _locale_t locale, ...) int WINAPIV _fprintf_s_l(FILE* file, const char *format, _locale_t locale, ...)
{ {
va_list valist; va_list valist;
int res; int res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment