Module: wine Branch: master Commit: a37358d0f5ab6e447f96f22ceee0da6c34b5355f URL: http://source.winehq.org/git/wine.git/?a=commit;h=a37358d0f5ab6e447f96f22cee...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Nov 2 10:21:30 2017 +0100
reg: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/reg/reg.c | 4 ++-- programs/reg/reg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/reg/reg.c b/programs/reg/reg.c index fac3d22..42fd6e9 100644 --- a/programs/reg/reg.c +++ b/programs/reg/reg.c @@ -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;
diff --git a/programs/reg/reg.h b/programs/reg/reg.h index 14c05b1..07bbecf 100644 --- a/programs/reg/reg.h +++ b/programs/reg/reg.h @@ -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 */