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
5012a572
Commit
5012a572
authored
Jan 20, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Make some functions static.
parent
89c63fd3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
dbg.y
programs/winedbg/dbg.y
+3
-2
debugger.h
programs/winedbg/debugger.h
+0
-2
tgt_minidump.c
programs/winedbg/tgt_minidump.c
+1
-1
winedbg.c
programs/winedbg/winedbg.c
+1
-1
No files found.
programs/winedbg/dbg.y
View file @
5012a572
...
...
@@ -37,6 +37,7 @@
int dbg_lex(void);
static int dbg_error(const char*);
static void parser(const char*);
%}
...
...
@@ -548,7 +549,7 @@ void parser_handle(HANDLE input)
dbg_parser_output = out_copy;
}
void parser(const char* filename)
static
void parser(const char* filename)
{
HANDLE h = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0L, 0);
if (h != INVALID_HANDLE_VALUE)
...
...
@@ -558,7 +559,7 @@ void parser(const char* filename)
}
}
int dbg_error(const char* s)
static
int dbg_error(const char* s)
{
dbg_printf("%s\n", s);
return 0;
...
...
programs/winedbg/debugger.h
View file @
5012a572
...
...
@@ -301,7 +301,6 @@ extern void break_restart_execution(int count);
extern
int
break_add_condition
(
int
bpnum
,
struct
expr
*
exp
);
/* dbg.y */
extern
void
parser
(
const
char
*
);
extern
void
parser_handle
(
HANDLE
);
extern
int
input_read_line
(
const
char
*
pfx
,
char
*
buffer
,
int
size
);
extern
int
input_fetch_entire_line
(
const
char
*
pfx
,
char
**
line
);
...
...
@@ -436,7 +435,6 @@ extern struct dbg_type types_find_pointer(const struct dbg_type* type);
extern
struct
dbg_type
types_find_type
(
unsigned
long
linear
,
const
char
*
name
,
enum
SymTagEnum
tag
);
/* winedbg.c */
extern
void
dbg_outputA
(
const
char
*
buffer
,
int
len
);
extern
void
dbg_outputW
(
const
WCHAR
*
buffer
,
int
len
);
extern
const
char
*
dbg_W2A
(
const
WCHAR
*
buffer
,
unsigned
len
);
#ifdef __GNUC__
...
...
programs/winedbg/tgt_minidump.c
View file @
5012a572
...
...
@@ -133,7 +133,7 @@ static BOOL WINAPI tgt_process_minidump_write(HANDLE hProcess, void* addr,
return
FALSE
;
}
BOOL
CALLBACK
validate_file
(
PCWSTR
name
,
void
*
user
)
static
BOOL
CALLBACK
validate_file
(
PCWSTR
name
,
void
*
user
)
{
return
FALSE
;
/* get the first file we find !! */
}
...
...
programs/winedbg/winedbg.c
View file @
5012a572
...
...
@@ -99,7 +99,7 @@ struct dbg_internal_var dbg_internal_vars[DBG_IV_LAST];
const
struct
dbg_internal_var
*
dbg_context_vars
;
static
HANDLE
dbg_houtput
;
void
dbg_outputA
(
const
char
*
buffer
,
int
len
)
static
void
dbg_outputA
(
const
char
*
buffer
,
int
len
)
{
static
char
line_buff
[
4096
];
static
unsigned
int
line_pos
;
...
...
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