Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e4ff90cc
Commit
e4ff90cc
authored
Jan 21, 2010
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmc: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings.
parent
c3af2dd7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
wmc.c
tools/wmc/wmc.c
+5
-3
wmc.h
tools/wmc/wmc.h
+1
-1
No files found.
tools/wmc/wmc.c
View file @
e4ff90cc
...
...
@@ -101,7 +101,7 @@ int rcinline = 0;
/*
* Debugging flag (-D option)
*/
int
dodebug
=
0
;
static
int
dodebug
=
0
;
char
*
output_name
=
NULL
;
/* The name given by the -o option */
char
*
input_name
=
NULL
;
/* The name given on the command-line */
...
...
@@ -115,6 +115,8 @@ time_t now; /* The time of start of wmc */
int
mcy_debug
;
FILE
*
yyin
;
int
getopt
(
int
argc
,
char
*
const
*
argv
,
const
char
*
optstring
);
static
void
segvhandler
(
int
sig
);
...
...
@@ -242,8 +244,8 @@ int main(int argc,char *argv[])
mcy_debug
=
dodebug
;
if
(
dodebug
)
{
setbuf
(
stdout
,
0
);
setbuf
(
stderr
,
0
);
setbuf
(
stdout
,
NULL
);
setbuf
(
stderr
,
NULL
);
}
/* Check for input file on command-line */
...
...
tools/wmc/wmc.h
View file @
e4ff90cc
...
...
@@ -65,7 +65,7 @@ extern node_t *nodehead;
extern
lan_blk_t
*
lanblockhead
;
int
mcy_lex
(
void
);
FILE
*
yyin
;
extern
FILE
*
yyin
;
void
set_codepage
(
int
cp
);
void
add_token
(
tok_e
type
,
const
WCHAR
*
name
,
int
tok
,
int
cp
,
const
WCHAR
*
alias
,
int
fix
);
...
...
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