Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
2c2e7550
Commit
2c2e7550
authored
Oct 25, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskkill: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7f83b8fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
taskkill.c
programs/taskkill/taskkill.c
+7
-7
No files found.
programs/taskkill/taskkill.c
View file @
2c2e7550
...
...
@@ -39,7 +39,7 @@ struct pid_close_info
BOOL
found
;
};
static
int
taskkill_vprintfW
(
const
WCHAR
*
msg
,
__ms_
va_list
va_args
)
static
int
taskkill_vprintfW
(
const
WCHAR
*
msg
,
va_list
va_args
)
{
int
wlen
;
DWORD
count
,
ret
;
...
...
@@ -75,27 +75,27 @@ static int taskkill_vprintfW(const WCHAR *msg, __ms_va_list va_args)
static
int
WINAPIV
taskkill_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
=
taskkill_vprintfW
(
msg
,
va_args
);
__ms_
va_end
(
va_args
);
va_end
(
va_args
);
return
len
;
}
static
int
WINAPIV
taskkill_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
=
taskkill_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