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
87791cfe
Commit
87791cfe
authored
Jun 23, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Constify some variables.
parent
33c0db06
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
file.c
dlls/ntdll/file.c
+2
-2
relay.c
dlls/ntdll/relay.c
+4
-4
No files found.
dlls/ntdll/file.c
View file @
87791cfe
...
...
@@ -465,7 +465,7 @@ static NTSTATUS get_io_timeouts( HANDLE handle, enum server_fd_type type, ULONG
/* retrieve the timeout for the next wait, in milliseconds */
static
inline
int
get_next_io_timeout
(
struct
io_timeouts
*
timeouts
,
ULONG
already
)
static
inline
int
get_next_io_timeout
(
const
struct
io_timeouts
*
timeouts
,
ULONG
already
)
{
int
ret
=
-
1
;
...
...
@@ -973,7 +973,7 @@ static void WINAPI ioctl_apc( void *arg, IO_STATUS_BLOCK *io, ULONG reserved )
static
NTSTATUS
server_ioctl_file
(
HANDLE
handle
,
HANDLE
event
,
PIO_APC_ROUTINE
apc
,
PVOID
apc_context
,
IO_STATUS_BLOCK
*
io
,
ULONG
code
,
PVOID
in_buffer
,
ULONG
in_size
,
const
void
*
in_buffer
,
ULONG
in_size
,
PVOID
out_buffer
,
ULONG
out_size
)
{
struct
async_ioctl
*
async
;
...
...
dlls/ntdll/relay.c
View file @
87791cfe
...
...
@@ -242,7 +242,7 @@ static void init_debug_lists(void)
*
* Check if a given module and function is in the list.
*/
static
BOOL
check_list
(
const
char
*
module
,
int
ordinal
,
const
char
*
func
,
const
WCHAR
**
list
)
static
BOOL
check_list
(
const
char
*
module
,
int
ordinal
,
const
char
*
func
,
const
WCHAR
*
const
*
list
)
{
char
ord_str
[
10
];
...
...
@@ -320,14 +320,14 @@ static BOOL check_from_module( const WCHAR **includelist, const WCHAR **excludel
/***********************************************************************
* RELAY_PrintArgs
*/
static
inline
void
RELAY_PrintArgs
(
int
*
args
,
int
nb_args
,
unsigned
int
typemask
)
static
inline
void
RELAY_PrintArgs
(
const
int
*
args
,
int
nb_args
,
unsigned
int
typemask
)
{
while
(
nb_args
--
)
{
if
((
typemask
&
3
)
&&
HIWORD
(
*
args
))
{
if
(
typemask
&
2
)
DPRINTF
(
"%08x %s"
,
*
args
,
debugstr_w
((
LPWSTR
)
*
args
)
);
DPRINTF
(
"%08x %s"
,
*
args
,
debugstr_w
((
LP
C
WSTR
)
*
args
)
);
else
DPRINTF
(
"%08x %s"
,
*
args
,
debugstr_a
((
LPCSTR
)
*
args
)
);
}
...
...
@@ -367,7 +367,7 @@ __ASM_GLOBAL_FUNC( call_entry_point,
*
* stack points to the return address, i.e. the first argument is stack[1].
*/
static
LONGLONG
WINAPI
relay_call_from_32
(
struct
relay_descr
*
descr
,
unsigned
int
idx
,
int
*
stack
)
static
LONGLONG
WINAPI
relay_call_from_32
(
struct
relay_descr
*
descr
,
unsigned
int
idx
,
const
int
*
stack
)
{
LONGLONG
ret
;
WORD
ordinal
=
LOWORD
(
idx
);
...
...
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