Alexandre Julliard : user32: 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: 54796d65fc59ea4de58bb2fadf5cf1e0c91306c7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=54796d65fc59ea4de58bb2fadf5cf1e0c91306c7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Oct 22 11:12:57 2021 +0200
user32: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/wsprintf.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/dlls/user32/wsprintf.c b/dlls/user32/wsprintf.c
index 4c1c44365aa..1b396f0269c 100644
--- a/dlls/user32/wsprintf.c
+++ b/dlls/user32/wsprintf.c
@@ -336,7 +336,7 @@ static UINT WPRINTF_GetLen( WPRINTF_FORMAT *format, WPRINTF_DATA *arg,
/***********************************************************************
* wvsnprintfA (internal)
*/
-static INT wvsnprintfA( LPSTR buffer, UINT maxlen, LPCSTR spec, __ms_va_list args )
+static INT wvsnprintfA( LPSTR buffer, UINT maxlen, LPCSTR spec, va_list args )
{
WPRINTF_FORMAT format;
LPSTR p = buffer;
@@ -456,7 +456,7 @@ static INT wvsnprintfA( LPSTR buffer, UINT maxlen, LPCSTR spec, __ms_va_list arg
/***********************************************************************
* wvsnprintfW (internal)
*/
-static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, __ms_va_list args )
+static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, va_list args )
{
WPRINTF_FORMAT format;
LPWSTR p = buffer;
@@ -574,7 +574,7 @@ static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, __ms_va_list a
/***********************************************************************
* wvsprintfA (USER32.@)
*/
-INT WINAPI wvsprintfA( LPSTR buffer, LPCSTR spec, __ms_va_list args )
+INT WINAPI wvsprintfA( LPSTR buffer, LPCSTR spec, va_list args )
{
INT res = wvsnprintfA( buffer, 1024, spec, args );
return ( res == -1 ) ? 1024 : res;
@@ -584,7 +584,7 @@ INT WINAPI wvsprintfA( LPSTR buffer, LPCSTR spec, __ms_va_list args )
/***********************************************************************
* wvsprintfW (USER32.@)
*/
-INT WINAPI wvsprintfW( LPWSTR buffer, LPCWSTR spec, __ms_va_list args )
+INT WINAPI wvsprintfW( LPWSTR buffer, LPCWSTR spec, va_list args )
{
INT res = wvsnprintfW( buffer, 1024, spec, args );
return ( res == -1 ) ? 1024 : res;
@@ -596,12 +596,12 @@ INT WINAPI wvsprintfW( LPWSTR buffer, LPCWSTR spec, __ms_va_list args )
*/
INT WINAPIV wsprintfA( LPSTR buffer, LPCSTR spec, ... )
{
- __ms_va_list valist;
+ va_list valist;
INT res;
- __ms_va_start( valist, spec );
+ va_start( valist, spec );
res = wvsnprintfA( buffer, 1024, spec, valist );
- __ms_va_end( valist );
+ va_end( valist );
return ( res == -1 ) ? 1024 : res;
}
@@ -611,11 +611,11 @@ INT WINAPIV wsprintfA( LPSTR buffer, LPCSTR spec, ... )
*/
INT WINAPIV wsprintfW( LPWSTR buffer, LPCWSTR spec, ... )
{
- __ms_va_list valist;
+ va_list valist;
INT res;
- __ms_va_start( valist, spec );
+ va_start( valist, spec );
res = wvsnprintfW( buffer, 1024, spec, valist );
- __ms_va_end( valist );
+ va_end( valist );
return ( res == -1 ) ? 1024 : res;
}
More information about the wine-cvs
mailing list