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
70441d5b
Commit
70441d5b
authored
Dec 16, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Change all functions to use CDECL.
parent
0a645959
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
path.c
dlls/kernel32/path.c
+2
-2
process.c
dlls/kernel32/process.c
+1
-1
loader.c
dlls/ntdll/loader.c
+1
-1
winbase.h
include/winbase.h
+2
-2
start.c
programs/start/start.c
+1
-1
winepath.c
programs/winepath/winepath.c
+2
-2
No files found.
dlls/kernel32/path.c
View file @
70441d5b
...
...
@@ -1583,7 +1583,7 @@ BOOL WINAPI NeedCurrentDirectoryForExePathA( LPCSTR name )
* Return the full Unix file name for a given path.
* Returned buffer must be freed by caller.
*/
char
*
wine_get_unix_file_name
(
LPCWSTR
dosW
)
char
CDECL
*
wine_get_unix_file_name
(
LPCWSTR
dosW
)
{
UNICODE_STRING
nt_name
;
ANSI_STRING
unix_name
;
...
...
@@ -1607,7 +1607,7 @@ char *wine_get_unix_file_name( LPCWSTR dosW )
* Return the full DOS file name for a given Unix path.
* Returned buffer must be freed by caller.
*/
WCHAR
*
wine_get_dos_file_name
(
LPCSTR
str
)
WCHAR
CDECL
*
wine_get_dos_file_name
(
LPCSTR
str
)
{
UNICODE_STRING
nt_name
;
ANSI_STRING
unix_name
;
...
...
dlls/kernel32/process.c
View file @
70441d5b
...
...
@@ -956,7 +956,7 @@ static void set_process_name( int argc, char *argv[] )
*
* Wine initialisation: load and start the main exe file.
*/
void
__wine_kernel_init
(
void
)
void
CDECL
__wine_kernel_init
(
void
)
{
static
const
WCHAR
kernel32W
[]
=
{
'k'
,
'e'
,
'r'
,
'n'
,
'e'
,
'l'
,
'3'
,
'2'
,
0
};
static
const
WCHAR
dotW
[]
=
{
'.'
,
0
};
...
...
dlls/ntdll/loader.c
View file @
70441d5b
...
...
@@ -2652,7 +2652,7 @@ void __wine_process_init(void)
WINE_MODREF
*
wm
;
NTSTATUS
status
;
ANSI_STRING
func_name
;
void
(
*
DECLSPEC_NORETURN
init_func
)(
void
);
void
(
*
DECLSPEC_NORETURN
CDECL
init_func
)(
void
);
extern
mode_t
FILE_umask
;
main_exe_file
=
thread_init
();
...
...
include/winbase.h
View file @
70441d5b
...
...
@@ -2311,8 +2311,8 @@ WINBASEAPI VOID WINAPI _LeaveSysLevel(SYSLEVEL*);
/* Wine internal functions */
extern
char
*
wine_get_unix_file_name
(
LPCWSTR
dos
);
extern
WCHAR
*
wine_get_dos_file_name
(
LPCSTR
str
);
extern
char
CDECL
*
wine_get_unix_file_name
(
LPCWSTR
dos
);
extern
WCHAR
CDECL
*
wine_get_dos_file_name
(
LPCSTR
str
);
/* Interlocked functions */
...
...
programs/start/start.c
View file @
70441d5b
...
...
@@ -258,7 +258,7 @@ int wmain (int argc, WCHAR *argv[])
sei
.
lpParameters
=
args
;
if
(
unix_mode
)
{
LPWSTR
(
*
wine_get_dos_file_name_ptr
)(
LPCSTR
);
LPWSTR
(
*
CDECL
wine_get_dos_file_name_ptr
)(
LPCSTR
);
char
*
multibyte_unixpath
;
int
multibyte_unixpath_len
;
...
...
programs/winepath/winepath.c
View file @
70441d5b
...
...
@@ -142,8 +142,8 @@ static int parse_options(const WCHAR *argv[])
*/
int
wmain
(
int
argc
,
const
WCHAR
*
argv
[])
{
LPSTR
(
*
wine_get_unix_file_name_ptr
)(
LPCWSTR
)
=
NULL
;
LPWSTR
(
*
wine_get_dos_file_name_ptr
)(
LPCSTR
)
=
NULL
;
LPSTR
(
*
CDECL
wine_get_unix_file_name_ptr
)(
LPCWSTR
)
=
NULL
;
LPWSTR
(
*
CDECL
wine_get_dos_file_name_ptr
)(
LPCSTR
)
=
NULL
;
WCHAR
dos_pathW
[
MAX_PATH
];
char
path
[
MAX_PATH
];
int
outputformats
;
...
...
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