Alexandre Julliard : net: Use the standard va_list instead of __ms_va_list.

Alexandre Julliard julliard at winehq.org
Mon Oct 25 16:30:06 CDT 2021


Module: wine
Branch: master
Commit: 3291ead14df517375a6a62e4d5e6d137a9924288
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3291ead14df517375a6a62e4d5e6d137a9924288

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Oct 25 11:01:16 2021 +0200

net: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list