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
f55de5cf
Commit
f55de5cf
authored
Jun 09, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings exposed by -Wmissing-declarations and -Wwrite-strings.
parent
8e2cb083
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
16 deletions
+10
-16
dwarf.c
dlls/dbghelp/dwarf.c
+9
-15
storage.c
dlls/dbghelp/storage.c
+1
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
f55de5cf
...
...
@@ -541,12 +541,12 @@ static long dwarf2_leb128_as_signed(dwarf2_parse_context_t* ctx)
return
ret
;
}
const
char
*
dwarf2_debug_ctx
(
dwarf2_parse_context_t
*
ctx
)
static
const
char
*
dwarf2_debug_ctx
(
dwarf2_parse_context_t
*
ctx
)
{
/*return wine_dbg_sprintf("ctx(0x%x,%u)", ctx->data - ctx->start_data, ctx->level); */
return
wine_dbg_sprintf
(
"ctx(0x%x,%u)"
,
ctx
->
data
-
ctx
->
data_stream
,
ctx
->
level
);
}
const
char
*
dwarf2_debug_attr
(
dwarf2_abbrev_entry_attr_t
*
attr
)
static
const
char
*
dwarf2_debug_attr
(
dwarf2_abbrev_entry_attr_t
*
attr
)
{
return
wine_dbg_sprintf
(
"attr(attr:0x%lx,form:0x%lx)"
,
attr
->
attribute
,
attr
->
form
);
}
...
...
@@ -563,7 +563,7 @@ static void dwarf2_check_sibling(dwarf2_parse_context_t* ctx, unsigned long next
}
dwarf2_abbrev_entry_attr_t
*
dwarf2_abbrev_entry_add_attr
(
dwarf2_abbrev_entry_t
*
abbrev_entry
,
unsigned
long
attribute
,
unsigned
long
form
)
static
dwarf2_abbrev_entry_attr_t
*
dwarf2_abbrev_entry_add_attr
(
dwarf2_abbrev_entry_t
*
abbrev_entry
,
unsigned
long
attribute
,
unsigned
long
form
)
{
dwarf2_abbrev_entry_attr_t
*
ret
=
NULL
;
dwarf2_abbrev_entry_attr_t
*
it
=
NULL
;
...
...
@@ -585,7 +585,7 @@ dwarf2_abbrev_entry_attr_t* dwarf2_abbrev_entry_add_attr(dwarf2_abbrev_entry_t*
return
ret
;
}
dwarf2_abbrev_entry_t
*
dwarf2_abbrev_table_add_entry
(
dwarf2_abbrev_table_t
*
abbrev_table
,
unsigned
long
entry_code
,
unsigned
long
tag
,
unsigned
char
have_child
)
static
dwarf2_abbrev_entry_t
*
dwarf2_abbrev_table_add_entry
(
dwarf2_abbrev_table_t
*
abbrev_table
,
unsigned
long
entry_code
,
unsigned
long
tag
,
unsigned
char
have_child
)
{
dwarf2_abbrev_entry_t
*
ret
=
NULL
;
...
...
@@ -606,7 +606,7 @@ dwarf2_abbrev_entry_t* dwarf2_abbrev_table_add_entry(dwarf2_abbrev_table_t* abbr
return
ret
;
}
dwarf2_abbrev_entry_t
*
dwarf2_abbrev_table_find_entry
(
dwarf2_abbrev_table_t
*
abbrev_table
,
unsigned
long
entry_code
)
static
dwarf2_abbrev_entry_t
*
dwarf2_abbrev_table_find_entry
(
dwarf2_abbrev_table_t
*
abbrev_table
,
unsigned
long
entry_code
)
{
dwarf2_abbrev_entry_t
*
ret
=
NULL
;
...
...
@@ -617,7 +617,7 @@ dwarf2_abbrev_entry_t* dwarf2_abbrev_table_find_entry(dwarf2_abbrev_table_t* abb
return
ret
;
}
void
dwarf2_abbrev_table_free
(
dwarf2_abbrev_table_t
*
abbrev_table
)
static
void
dwarf2_abbrev_table_free
(
dwarf2_abbrev_table_t
*
abbrev_table
)
{
dwarf2_abbrev_entry_t
*
entry
=
NULL
;
dwarf2_abbrev_entry_t
*
next_entry
=
NULL
;
...
...
@@ -636,7 +636,7 @@ void dwarf2_abbrev_table_free(dwarf2_abbrev_table_t* abbrev_table)
abbrev_table
->
n_entries
=
0
;
}
dwarf2_abbrev_table_t
*
dwarf2_parse_abbrev_set
(
dwarf2_parse_context_t
*
abbrev_ctx
)
static
dwarf2_abbrev_table_t
*
dwarf2_parse_abbrev_set
(
dwarf2_parse_context_t
*
abbrev_ctx
)
{
dwarf2_abbrev_table_t
*
abbrev_table
=
NULL
;
...
...
@@ -867,13 +867,13 @@ static void dwarf2_parse_attr(dwarf2_abbrev_entry_attr_t* attr,
}
}
struct
symt
*
dwarf2_find_symt_by_ref
(
struct
module
*
module
,
unsigned
long
ref
)
st
atic
st
ruct
symt
*
dwarf2_find_symt_by_ref
(
struct
module
*
module
,
unsigned
long
ref
)
{
TRACE
(
"want ref<0x%lx>
\n
"
,
ref
);
return
NULL
;
}
struct
symt
*
dwarf2_add_symt_ref
(
struct
module
*
module
,
unsigned
long
ref
,
struct
symt
*
symt
)
st
atic
st
ruct
symt
*
dwarf2_add_symt_ref
(
struct
module
*
module
,
unsigned
long
ref
,
struct
symt
*
symt
)
{
if
(
NULL
!=
symt
)
return
NULL
;
return
NULL
;
...
...
@@ -2172,9 +2172,3 @@ BOOL dwarf2_parse(struct module* module, unsigned long load_offset,
}
return
bRet
;
}
BOOL
dwarf2_parse_lines
(
struct
module
*
module
,
unsigned
long
load_offset
,
const
unsigned
char
*
debug_line
,
unsigned
int
debug_line_size
)
{
return
FALSE
;
}
dlls/dbghelp/storage.c
View file @
f55de5cf
...
...
@@ -112,7 +112,7 @@ static struct pool_arena* pool_is_last(struct pool* pool, void* p, unsigned old_
return
NULL
;
}
void
*
pool_realloc
(
struct
pool
*
pool
,
void
*
p
,
unsigned
old_size
,
unsigned
new_size
)
static
void
*
pool_realloc
(
struct
pool
*
pool
,
void
*
p
,
unsigned
old_size
,
unsigned
new_size
)
{
struct
pool_arena
*
arena
;
void
*
new
;
...
...
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