stdio.h: Fix calling convention of variadic inline functions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48697 Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aabfd2dd3a
commit
d34ae79ddd
|
@ -115,7 +115,7 @@ static inline int __cdecl _vsnwprintf_s(wchar_t *buffer, size_t size, size_t cou
|
|||
return ret < 0 ? -1 : ret;
|
||||
}
|
||||
|
||||
static inline int __cdecl _snwprintf_s(wchar_t *buffer, size_t size, size_t count, const wchar_t *format, ...)
|
||||
static inline int WINAPIV _snwprintf_s(wchar_t *buffer, size_t size, size_t count, const wchar_t *format, ...)
|
||||
{
|
||||
int ret;
|
||||
__ms_va_list args;
|
||||
|
|
|
@ -174,7 +174,7 @@ static inline int __cdecl _vsnprintf_s(char *buffer, size_t size, size_t count,
|
|||
return ret < 0 ? -1 : ret;
|
||||
}
|
||||
|
||||
static inline int __cdecl _snprintf_s(char *buffer, size_t size, size_t count, const char *format, ...)
|
||||
static inline int WINAPIV _snprintf_s(char *buffer, size_t size, size_t count, const char *format, ...)
|
||||
{
|
||||
int ret;
|
||||
__ms_va_list args;
|
||||
|
|
Loading…
Reference in New Issue