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
2941e518
Commit
2941e518
authored
Aug 11, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid CDECL on internal functions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d7add382
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
virtual.c
dlls/ntdll/unix/virtual.c
+6
-6
No files found.
dlls/ntdll/unix/virtual.c
View file @
2941e518
...
...
@@ -381,7 +381,7 @@ static int mmap_is_in_reserved_area( void *addr, SIZE_T size )
return
0
;
}
static
int
mmap_enum_reserved_areas
(
int
(
CDECL
*
enum_func
)(
void
*
base
,
SIZE_T
size
,
void
*
arg
),
static
int
mmap_enum_reserved_areas
(
int
(
*
enum_func
)(
void
*
base
,
SIZE_T
size
,
void
*
arg
),
void
*
arg
,
int
top_down
)
{
int
ret
=
0
;
...
...
@@ -1451,7 +1451,7 @@ struct area_boundary
* in the specified region. If no boundaries are found, result is NULL.
* virtual_mutex must be held by caller.
*/
static
int
CDECL
get_area_boundary_callback
(
void
*
start
,
SIZE_T
size
,
void
*
arg
)
static
int
get_area_boundary_callback
(
void
*
start
,
SIZE_T
size
,
void
*
arg
)
{
struct
area_boundary
*
area
=
arg
;
void
*
end
=
(
char
*
)
start
+
size
;
...
...
@@ -1818,7 +1818,7 @@ struct alloc_area
*
* Try to map some space inside a reserved area. Callback for mmap_enum_reserved_areas.
*/
static
int
CDECL
alloc_reserved_area_callback
(
void
*
start
,
SIZE_T
size
,
void
*
arg
)
static
int
alloc_reserved_area_callback
(
void
*
start
,
SIZE_T
size
,
void
*
arg
)
{
struct
alloc_area
*
alloc
=
arg
;
void
*
end
=
(
char
*
)
start
+
size
;
...
...
@@ -2633,7 +2633,7 @@ struct alloc_virtual_heap
};
/* callback for mmap_enum_reserved_areas to allocate space for the virtual heap */
static
int
CDECL
alloc_virtual_heap
(
void
*
base
,
SIZE_T
size
,
void
*
arg
)
static
int
alloc_virtual_heap
(
void
*
base
,
SIZE_T
size
,
void
*
arg
)
{
struct
alloc_virtual_heap
*
alloc
=
arg
;
void
*
end
=
(
char
*
)
base
+
size
;
...
...
@@ -3668,7 +3668,7 @@ struct free_range
};
/* free reserved areas above the limit; callback for mmap_enum_reserved_areas */
static
int
CDECL
free_reserved_memory
(
void
*
base
,
SIZE_T
size
,
void
*
arg
)
static
int
free_reserved_memory
(
void
*
base
,
SIZE_T
size
,
void
*
arg
)
{
struct
free_range
*
range
=
arg
;
...
...
@@ -4048,7 +4048,7 @@ NTSTATUS WINAPI NtProtectVirtualMemory( HANDLE process, PVOID *addr_ptr, SIZE_T
/* retrieve state for a free memory area; callback for mmap_enum_reserved_areas */
static
int
CDECL
get_free_mem_state_callback
(
void
*
start
,
SIZE_T
size
,
void
*
arg
)
static
int
get_free_mem_state_callback
(
void
*
start
,
SIZE_T
size
,
void
*
arg
)
{
MEMORY_BASIC_INFORMATION
*
info
=
arg
;
void
*
end
=
(
char
*
)
start
+
size
;
...
...
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