reg: Use WINAPIV calling convention for variadic functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alexandre Julliard 2017-11-02 10:21:30 +01:00
parent 83d6249c41
commit a37358d0f5
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ static void output_formatstring(const WCHAR *fmt, __ms_va_list va_args)
LocalFree(str);
}
void __cdecl output_message(unsigned int id, ...)
void WINAPIV output_message(unsigned int id, ...)
{
WCHAR fmt[1024];
__ms_va_list va_args;
@ -166,7 +166,7 @@ void __cdecl output_message(unsigned int id, ...)
__ms_va_end(va_args);
}
static void __cdecl output_string(const WCHAR *fmt, ...)
static void WINAPIV output_string(const WCHAR *fmt, ...)
{
__ms_va_list va_args;

View File

@ -27,7 +27,7 @@
void *heap_xalloc(size_t size);
void *heap_xrealloc(void *buf, size_t size);
BOOL heap_free(void *buf);
void __cdecl output_message(unsigned int id, ...);
void WINAPIV output_message(unsigned int id, ...);
HKEY path_get_rootkey(const WCHAR *path);
/* import.c */