From 5d78033a90b8c92e7f0b558bc0786c7f735be84d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 22 Oct 2021 11:13:06 +0200 Subject: [PATCH] wldap32: Use the standard va_list instead of __ms_va_list. Signed-off-by: Alexandre Julliard --- 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; }