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:
Jacek Caban 2020-03-03 14:37:00 +01:00 committed by Alexandre Julliard
parent aabfd2dd3a
commit d34ae79ddd
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;