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
a5b67f3f
Commit
a5b67f3f
authored
Nov 02, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use WINAPIV calling convention for variadic functions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
70e02ce7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
printf.c
dlls/ntdll/printf.c
+4
-4
string.c
dlls/ntdll/string.c
+1
-1
string.c
dlls/ntdll/tests/string.c
+1
-1
No files found.
dlls/ntdll/printf.c
View file @
a5b67f3f
...
...
@@ -709,7 +709,7 @@ int CDECL NTDLL__vsnwprintf( WCHAR *str, SIZE_T len, const WCHAR *format, __ms_v
/*********************************************************************
* _snprintf (NTDLL.@)
*/
int
CDECL
NTDLL__snprintf
(
char
*
str
,
SIZE_T
len
,
const
char
*
format
,
...
)
int
WINAPIV
NTDLL__snprintf
(
char
*
str
,
SIZE_T
len
,
const
char
*
format
,
...
)
{
int
ret
;
__ms_va_list
valist
;
...
...
@@ -724,7 +724,7 @@ int CDECL NTDLL__snprintf( char *str, SIZE_T len, const char *format, ... )
/***********************************************************************
* _snwprintf (NTDLL.@)
*/
int
CDECL
NTDLL__snwprintf
(
WCHAR
*
str
,
SIZE_T
len
,
const
WCHAR
*
format
,
...
)
int
WINAPIV
NTDLL__snwprintf
(
WCHAR
*
str
,
SIZE_T
len
,
const
WCHAR
*
format
,
...
)
{
int
ret
;
__ms_va_list
valist
;
...
...
@@ -748,7 +748,7 @@ int CDECL NTDLL_vsprintf( char *str, const char *format, __ms_va_list args )
/*********************************************************************
* sprintf (NTDLL.@)
*/
int
CDECL
NTDLL_sprintf
(
char
*
str
,
const
char
*
format
,
...
)
int
WINAPIV
NTDLL_sprintf
(
char
*
str
,
const
char
*
format
,
...
)
{
int
ret
;
__ms_va_list
valist
;
...
...
@@ -763,7 +763,7 @@ int CDECL NTDLL_sprintf( char *str, const char *format, ... )
/***********************************************************************
* swprintf (NTDLL.@)
*/
int
CDECL
NTDLL_swprintf
(
WCHAR
*
str
,
const
WCHAR
*
format
,
...
)
int
WINAPIV
NTDLL_swprintf
(
WCHAR
*
str
,
const
WCHAR
*
format
,
...
)
{
int
ret
;
__ms_va_list
valist
;
...
...
dlls/ntdll/string.c
View file @
a5b67f3f
...
...
@@ -1363,7 +1363,7 @@ static int NTDLL_vsscanf( const char *str, const char *format, __ms_va_list ap)
/*********************************************************************
* sscanf (NTDLL.@)
*/
int
__cdecl
NTDLL_sscanf
(
const
char
*
str
,
const
char
*
format
,
...
)
int
WINAPIV
NTDLL_sscanf
(
const
char
*
str
,
const
char
*
format
,
...
)
{
int
ret
;
__ms_va_list
valist
;
...
...
dlls/ntdll/tests/string.c
View file @
a5b67f3f
...
...
@@ -59,7 +59,7 @@ static LPWSTR (WINAPIV *p_wcsrchr)(LPCWSTR, WCHAR);
static
void
(
__cdecl
*
p_qsort
)(
void
*
,
size_t
,
size_t
,
int
(
__cdecl
*
compar
)(
const
void
*
,
const
void
*
)
);
static
void
*
(
__cdecl
*
p_bsearch
)(
void
*
,
void
*
,
size_t
,
size_t
,
int
(
__cdecl
*
compar
)(
const
void
*
,
const
void
*
)
);
static
int
(
__cdecl
*
p__snprintf
)(
char
*
,
size_t
,
const
char
*
,
...);
static
int
(
WINAPIV
*
p__snprintf
)(
char
*
,
size_t
,
const
char
*
,
...);
static
void
InitFunctionPtrs
(
void
)
...
...
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