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
4e4948cf
Commit
4e4948cf
authored
Aug 28, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Constify some variables.
parent
22741507
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dwarf.c
dlls/dbghelp/dwarf.c
+2
-2
image_private.h
dlls/dbghelp/image_private.h
+2
-2
No files found.
dlls/dbghelp/dwarf.c
View file @
4e4948cf
...
...
@@ -2796,7 +2796,7 @@ static void copy_context_reg(CONTEXT *dstcontext, ULONG_PTR dwregdst, CONTEXT* s
memcpy
(
ptrdst
,
ptrsrc
,
szdst
);
}
static
ULONG_PTR
eval_expression
(
struct
module
*
module
,
struct
cpu_stack_walk
*
csw
,
static
ULONG_PTR
eval_expression
(
const
struct
module
*
module
,
struct
cpu_stack_walk
*
csw
,
const
unsigned
char
*
zp
,
CONTEXT
*
context
)
{
dwarf2_traverse_context_t
ctx
;
...
...
@@ -2907,7 +2907,7 @@ static ULONG_PTR eval_expression(struct module* module, struct cpu_stack_walk* c
return
stack
[
sp
];
}
static
void
apply_frame_state
(
struct
module
*
module
,
struct
cpu_stack_walk
*
csw
,
static
void
apply_frame_state
(
const
struct
module
*
module
,
struct
cpu_stack_walk
*
csw
,
CONTEXT
*
context
,
struct
frame_state
*
state
,
ULONG_PTR
*
cfa
)
{
unsigned
int
i
;
...
...
dlls/dbghelp/image_private.h
View file @
4e4948cf
...
...
@@ -159,7 +159,7 @@ static inline void image_unmap_section(struct image_section_map* ism)
}
}
static
inline
DWORD_PTR
image_get_map_rva
(
struct
image_section_map
*
ism
)
static
inline
DWORD_PTR
image_get_map_rva
(
const
struct
image_section_map
*
ism
)
{
if
(
!
ism
->
fmap
)
return
0
;
switch
(
ism
->
fmap
->
modtype
)
...
...
@@ -170,7 +170,7 @@ static inline DWORD_PTR image_get_map_rva(struct image_section_map* ism)
}
}
static
inline
unsigned
image_get_map_size
(
struct
image_section_map
*
ism
)
static
inline
unsigned
image_get_map_size
(
const
struct
image_section_map
*
ism
)
{
if
(
!
ism
->
fmap
)
return
0
;
switch
(
ism
->
fmap
->
modtype
)
...
...
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