Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b2240d6d
Commit
b2240d6d
authored
Oct 25, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipconfig: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bac8aff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ipconfig.c
programs/ipconfig/ipconfig.c
+7
-7
No files found.
programs/ipconfig/ipconfig.c
View file @
b2240d6d
...
...
@@ -28,7 +28,7 @@
#include "ipconfig.h"
static
int
ipconfig_vprintfW
(
const
WCHAR
*
msg
,
__ms_
va_list
va_args
)
static
int
ipconfig_vprintfW
(
const
WCHAR
*
msg
,
va_list
va_args
)
{
int
wlen
;
DWORD
count
,
ret
;
...
...
@@ -64,27 +64,27 @@ static int ipconfig_vprintfW(const WCHAR *msg, __ms_va_list va_args)
static
int
WINAPIV
ipconfig_printfW
(
const
WCHAR
*
msg
,
...)
{
__ms_
va_list
va_args
;
va_list
va_args
;
int
len
;
__ms_
va_start
(
va_args
,
msg
);
va_start
(
va_args
,
msg
);
len
=
ipconfig_vprintfW
(
msg
,
va_args
);
__ms_
va_end
(
va_args
);
va_end
(
va_args
);
return
len
;
}
static
int
WINAPIV
ipconfig_message_printfW
(
int
msg
,
...)
{
__ms_
va_list
va_args
;
va_list
va_args
;
WCHAR
msg_buffer
[
8192
];
int
len
;
LoadStringW
(
GetModuleHandleW
(
NULL
),
msg
,
msg_buffer
,
ARRAY_SIZE
(
msg_buffer
));
__ms_
va_start
(
va_args
,
msg
);
va_start
(
va_args
,
msg
);
len
=
ipconfig_vprintfW
(
msg_buffer
,
va_args
);
__ms_
va_end
(
va_args
);
va_end
(
va_args
);
return
len
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment