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
f4d2db4c
Commit
f4d2db4c
authored
Jul 14, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Constify some variables.
parent
3c2fa6ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+2
-2
symbol.c
dlls/dbghelp/symbol.c
+5
-5
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
f4d2db4c
...
...
@@ -559,7 +559,7 @@ extern struct symt_function*
unsigned
long
addr
,
unsigned
long
size
,
struct
symt
*
type
);
extern
BOOL
symt_normalize_function
(
struct
module
*
module
,
struct
symt_function
*
func
);
const
struct
symt_function
*
func
);
extern
void
symt_add_func_line
(
struct
module
*
module
,
struct
symt_function
*
func
,
unsigned
source_idx
,
int
line_num
,
...
...
@@ -577,7 +577,7 @@ extern struct symt_block*
unsigned
pc
,
unsigned
len
);
extern
struct
symt_block
*
symt_close_func_block
(
struct
module
*
module
,
struct
symt_function
*
func
,
const
struct
symt_function
*
func
,
struct
symt_block
*
block
,
unsigned
pc
);
extern
struct
symt_hierarchy_point
*
symt_add_function_point
(
struct
module
*
module
,
...
...
dlls/dbghelp/symbol.c
View file @
f4d2db4c
...
...
@@ -486,7 +486,7 @@ struct symt_block* symt_open_func_block(struct module* module,
}
struct
symt_block
*
symt_close_func_block
(
struct
module
*
module
,
struct
symt_function
*
func
,
const
struct
symt_function
*
func
,
struct
symt_block
*
block
,
unsigned
pc
)
{
assert
(
func
);
...
...
@@ -518,7 +518,7 @@ struct symt_hierarchy_point* symt_add_function_point(struct module* module,
return
sym
;
}
BOOL
symt_normalize_function
(
struct
module
*
module
,
struct
symt_function
*
func
)
BOOL
symt_normalize_function
(
struct
module
*
module
,
const
struct
symt_function
*
func
)
{
unsigned
len
;
struct
line_info
*
dli
;
...
...
@@ -771,7 +771,7 @@ static BOOL send_symbol(const struct sym_enum* se, const struct module_pair* pai
return
!
se
->
cb
(
se
->
sym_info
,
se
->
sym_info
->
Size
,
se
->
user
);
}
static
BOOL
symt_enum_module
(
struct
module_pair
*
pair
,
const
regex_t
*
regex
,
static
BOOL
symt_enum_module
(
const
struct
module_pair
*
pair
,
const
regex_t
*
regex
,
const
struct
sym_enum
*
se
)
{
void
*
ptr
;
...
...
@@ -792,7 +792,7 @@ static BOOL symt_enum_module(struct module_pair* pair, const regex_t* regex,
return
FALSE
;
}
static
inline
unsigned
where_to_insert
(
const
struct
module
*
module
,
unsigned
high
,
struct
symt_ht
*
elt
)
static
inline
unsigned
where_to_insert
(
const
struct
module
*
module
,
unsigned
high
,
const
struct
symt_ht
*
elt
)
{
unsigned
low
=
0
,
mid
=
high
/
2
;
ULONG64
addr
;
...
...
@@ -848,7 +848,7 @@ static BOOL resort_symbols(struct module* module)
return
module
->
sortlist_valid
=
TRUE
;
}
static
void
symt_get_length
(
struct
symt
*
symt
,
ULONG64
*
size
)
static
void
symt_get_length
(
const
struct
symt
*
symt
,
ULONG64
*
size
)
{
DWORD
type_index
;
...
...
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