Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
3291ead1
Commit
3291ead1
authored
3 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
net: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b2240d6d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
programs/net/net.c
+7
-7
7 additions, 7 deletions
programs/net/net.c
with
7 additions
and
7 deletions
programs/net/net.c
+
7
−
7
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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment