Commit a5b67f3f authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use WINAPIV calling convention for variadic functions.

parent 70e02ce7
......@@ -709,7 +709,7 @@ int CDECL NTDLL__vsnwprintf( WCHAR *str, SIZE_T len, const WCHAR *format, __ms_v
/*********************************************************************
* _snprintf (NTDLL.@)
*/
int CDECL NTDLL__snprintf( char *str, SIZE_T len, const char *format, ... )
int WINAPIV NTDLL__snprintf( char *str, SIZE_T len, const char *format, ... )
{
int ret;
__ms_va_list valist;
......@@ -724,7 +724,7 @@ int CDECL NTDLL__snprintf( char *str, SIZE_T len, const char *format, ... )
/***********************************************************************
* _snwprintf (NTDLL.@)
*/
int CDECL NTDLL__snwprintf( WCHAR *str, SIZE_T len, const WCHAR *format, ... )
int WINAPIV NTDLL__snwprintf( WCHAR *str, SIZE_T len, const WCHAR *format, ... )
{
int ret;
__ms_va_list valist;
......@@ -748,7 +748,7 @@ int CDECL NTDLL_vsprintf( char *str, const char *format, __ms_va_list args )
/*********************************************************************
* sprintf (NTDLL.@)
*/
int CDECL NTDLL_sprintf( char *str, const char *format, ... )
int WINAPIV NTDLL_sprintf( char *str, const char *format, ... )
{
int ret;
__ms_va_list valist;
......@@ -763,7 +763,7 @@ int CDECL NTDLL_sprintf( char *str, const char *format, ... )
/***********************************************************************
* swprintf (NTDLL.@)
*/
int CDECL NTDLL_swprintf( WCHAR *str, const WCHAR *format, ... )
int WINAPIV NTDLL_swprintf( WCHAR *str, const WCHAR *format, ... )
{
int ret;
__ms_va_list valist;
......
......@@ -1363,7 +1363,7 @@ static int NTDLL_vsscanf( const char *str, const char *format, __ms_va_list ap)
/*********************************************************************
* sscanf (NTDLL.@)
*/
int __cdecl NTDLL_sscanf( const char *str, const char *format, ... )
int WINAPIV NTDLL_sscanf( const char *str, const char *format, ... )
{
int ret;
__ms_va_list valist;
......
......@@ -59,7 +59,7 @@ static LPWSTR (WINAPIV *p_wcsrchr)(LPCWSTR, WCHAR);
static void (__cdecl *p_qsort)(void *,size_t,size_t, int(__cdecl *compar)(const void *, const void *) );
static void* (__cdecl *p_bsearch)(void *,void*,size_t,size_t, int(__cdecl *compar)(const void *, const void *) );
static int (__cdecl *p__snprintf)(char *, size_t, const char *, ...);
static int (WINAPIV *p__snprintf)(char *, size_t, const char *, ...);
static void InitFunctionPtrs(void)
......
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