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

Alexandre Julliard julliard at winehq.org
Fri Oct 22 14:46:11 CDT 2021


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct 22 11:13:06 2021 +0200

wldap32: Use the standard va_list instead of __ms_va_list.

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

---

 dlls/wldap32/ber.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/wldap32/ber.c b/dlls/wldap32/ber.c
index ca5bbc305c5..7d37471c5c4 100644
--- a/dlls/wldap32/ber.c
+++ b/dlls/wldap32/ber.c
@@ -318,12 +318,12 @@ ULONG CDECL ber_skip_tag( BerElement *ber, ULONG *len )
  */
 int WINAPIV ber_printf( BerElement *ber, char *fmt, ... )
 {
-    __ms_va_list list;
+    va_list list;
     int ret = 0;
     char new_fmt[2];
 
     new_fmt[1] = 0;
-    __ms_va_start( list, fmt );
+    va_start( list, fmt );
     while (*fmt)
     {
         new_fmt[0] = *fmt++;
@@ -392,7 +392,7 @@ int WINAPIV ber_printf( BerElement *ber, char *fmt, ... )
         }
         if (ret == -1) break;
     }
-    __ms_va_end( list );
+    va_end( list );
     return ret;
 }
 
@@ -417,12 +417,12 @@ int WINAPIV ber_printf( BerElement *ber, char *fmt, ... )
  */
 ULONG WINAPIV ber_scanf( BerElement *ber, char *fmt, ... )
 {
-    __ms_va_list list;
+    va_list list;
     int ret = 0;
     char new_fmt[2];
 
     new_fmt[1] = 0;
-    __ms_va_start( list, fmt );
+    va_start( list, fmt );
     while (*fmt)
     {
         new_fmt[0] = *fmt++;
@@ -508,6 +508,6 @@ ULONG WINAPIV ber_scanf( BerElement *ber, char *fmt, ... )
         }
         if (ret == -1) break;
     }
-    __ms_va_end( list );
+    va_end( list );
     return ret;
 }




More information about the wine-cvs mailing list