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
d0665616
Commit
d0665616
authored
Dec 16, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Constify some character strings.
parent
9c992f8a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
elf_module.c
dlls/dbghelp/elf_module.c
+1
-1
macho_module.c
dlls/dbghelp/macho_module.c
+1
-1
symbol.c
dlls/dbghelp/symbol.c
+1
-1
No files found.
dlls/dbghelp/elf_module.c
View file @
d0665616
...
@@ -1470,7 +1470,7 @@ static BOOL elf_search_and_load_file(struct process* pcs, const WCHAR* filename,
...
@@ -1470,7 +1470,7 @@ static BOOL elf_search_and_load_file(struct process* pcs, const WCHAR* filename,
{
{
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
struct
module
*
module
;
struct
module
*
module
;
static
WCHAR
S_libstdcPPW
[]
=
{
'l'
,
'i'
,
'b'
,
's'
,
't'
,
'd'
,
'c'
,
'+'
,
'+'
,
'\0'
};
static
const
WCHAR
S_libstdcPPW
[]
=
{
'l'
,
'i'
,
'b'
,
's'
,
't'
,
'd'
,
'c'
,
'+'
,
'+'
,
'\0'
};
if
(
filename
==
NULL
||
*
filename
==
'\0'
)
return
FALSE
;
if
(
filename
==
NULL
||
*
filename
==
'\0'
)
return
FALSE
;
if
((
module
=
module_is_already_loaded
(
pcs
,
filename
)))
if
((
module
=
module_is_already_loaded
(
pcs
,
filename
)))
...
...
dlls/dbghelp/macho_module.c
View file @
d0665616
...
@@ -1160,7 +1160,7 @@ static BOOL macho_search_and_load_file(struct process* pcs, const WCHAR* filenam
...
@@ -1160,7 +1160,7 @@ static BOOL macho_search_and_load_file(struct process* pcs, const WCHAR* filenam
{
{
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
struct
module
*
module
;
struct
module
*
module
;
static
WCHAR
S_libstdcPPW
[]
=
{
'l'
,
'i'
,
'b'
,
's'
,
't'
,
'd'
,
'c'
,
'+'
,
'+'
,
'\0'
};
static
const
WCHAR
S_libstdcPPW
[]
=
{
'l'
,
'i'
,
'b'
,
's'
,
't'
,
'd'
,
'c'
,
'+'
,
'+'
,
'\0'
};
const
WCHAR
*
p
;
const
WCHAR
*
p
;
TRACE
(
"(%p/%p, %s, 0x%08lx, %p)
\n
"
,
pcs
,
pcs
->
handle
,
debugstr_w
(
filename
),
load_addr
,
TRACE
(
"(%p/%p, %s, 0x%08lx, %p)
\n
"
,
pcs
,
pcs
->
handle
,
debugstr_w
(
filename
),
load_addr
,
...
...
dlls/dbghelp/symbol.c
View file @
d0665616
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
WINE_DECLARE_DEBUG_CHANNEL
(
dbghelp_symt
);
WINE_DECLARE_DEBUG_CHANNEL
(
dbghelp_symt
);
static
WCHAR
starW
[]
=
{
'*'
,
'\0'
};
static
const
WCHAR
starW
[]
=
{
'*'
,
'\0'
};
static
inline
int
cmp_addr
(
ULONG64
a1
,
ULONG64
a2
)
static
inline
int
cmp_addr
(
ULONG64
a1
,
ULONG64
a2
)
{
{
...
...
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