Alexandre Julliard : xcopy: 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: e0e6eda6927042e09ba6486f20d68110a4879385
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e0e6eda6927042e09ba6486f20d68110a4879385

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

xcopy: Use the standard va_list instead of __ms_va_list.

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

---

 programs/xcopy/xcopy.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/xcopy/xcopy.c b/programs/xcopy/xcopy.c
index c2427f355aa..809f24433a3 100644
--- a/programs/xcopy/xcopy.c
+++ b/programs/xcopy/xcopy.c
@@ -98,7 +98,7 @@ static int WINAPIV XCOPY_wprintf(const WCHAR *format, ...) {
     static BOOL  traceOutput  = FALSE;
 #define MAX_WRITECONSOLE_SIZE 65535
 
-    __ms_va_list parms;
+    va_list parms;
     DWORD   nOut;
     int len;
     DWORD   res = 0;
@@ -116,10 +116,10 @@ static int WINAPIV XCOPY_wprintf(const WCHAR *format, ...) {
       return 0;
     }
 
-    __ms_va_start(parms, format);
+    va_start(parms, format);
     len = FormatMessageW(FORMAT_MESSAGE_FROM_STRING, format, 0, 0, output_bufW,
                    MAX_WRITECONSOLE_SIZE/sizeof(*output_bufW), &parms);
-    __ms_va_end(parms);
+    va_end(parms);
     if (len == 0 && GetLastError() != ERROR_NO_WORK_DONE) {
       WINE_FIXME("Could not format string: le=%u, fmt=%s\n", GetLastError(), wine_dbgstr_w(format));
       return 0;




More information about the wine-cvs mailing list