From 3291ead14df517375a6a62e4d5e6d137a9924288 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 25 Oct 2021 11:01:16 +0200 Subject: [PATCH] net: Use the standard va_list instead of __ms_va_list. Signed-off-by: Alexandre Julliard --- programs/net/net.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/programs/net/net.c b/programs/net/net.c index dbc4bf2bfc6..a8073956019 100644 --- a/programs/net/net.c +++ b/programs/net/net.c @@ -54,7 +54,7 @@ static int output_write(const WCHAR* str, int len) return count; } -static int output_vprintf(const WCHAR* fmt, __ms_va_list va_args) +static int output_vprintf(const WCHAR* fmt, va_list va_args) { WCHAR str[8192]; int len; @@ -69,23 +69,23 @@ static int output_vprintf(const WCHAR* fmt, __ms_va_list va_args) static int WINAPIV output_printf(const WCHAR* fmt, ...) { - __ms_va_list arguments; + va_list arguments; - __ms_va_start(arguments, fmt); + va_start(arguments, fmt); output_vprintf(fmt, arguments); - __ms_va_end(arguments); + va_end(arguments); return 0; } static int WINAPIV output_string(int msg, ...) { WCHAR fmt[8192]; - __ms_va_list arguments; + va_list arguments; LoadStringW(GetModuleHandleW(NULL), msg, fmt, ARRAY_SIZE(fmt)); - __ms_va_start(arguments, msg); + va_start(arguments, msg); output_vprintf(fmt, arguments); - __ms_va_end(arguments); + va_end(arguments); return 0; }