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
3291ead1
Commit
3291ead1
authored
Oct 25, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b2240d6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
net.c
programs/net/net.c
+7
-7
No files found.
programs/net/net.c
View file @
3291ead1
...
...
@@ -54,7 +54,7 @@ static int output_write(const WCHAR* str, int len)
return
count
;
}
static
int
output_vprintf
(
const
WCHAR
*
fmt
,
__ms_
va_list
va_args
)
static
int
output_vprintf
(
const
WCHAR
*
fmt
,
va_list
va_args
)
{
WCHAR
str
[
8192
];
int
len
;
...
...
@@ -69,23 +69,23 @@ static int output_vprintf(const WCHAR* fmt, __ms_va_list va_args)
static
int
WINAPIV
output_printf
(
const
WCHAR
*
fmt
,
...)
{
__ms_
va_list
arguments
;
va_list
arguments
;
__ms_
va_start
(
arguments
,
fmt
);
va_start
(
arguments
,
fmt
);
output_vprintf
(
fmt
,
arguments
);
__ms_
va_end
(
arguments
);
va_end
(
arguments
);
return
0
;
}
static
int
WINAPIV
output_string
(
int
msg
,
...)
{
WCHAR
fmt
[
8192
];
__ms_
va_list
arguments
;
va_list
arguments
;
LoadStringW
(
GetModuleHandleW
(
NULL
),
msg
,
fmt
,
ARRAY_SIZE
(
fmt
));
__ms_
va_start
(
arguments
,
msg
);
va_start
(
arguments
,
msg
);
output_vprintf
(
fmt
,
arguments
);
__ms_
va_end
(
arguments
);
va_end
(
arguments
);
return
0
;
}
...
...
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