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
b99fa154
Commit
b99fa154
authored
Oct 11, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename struct option in order to avoid a conflict with wine/port.h.
parent
22ab2046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
main.c
tools/winedump/main.c
+4
-4
No files found.
tools/winedump/main.c
View file @
b99fa154
...
...
@@ -198,7 +198,7 @@ static void do_dumpall(void)
globals
.
dumpsect
=
"ALL"
;
}
struct
option
struct
my_
option
{
const
char
*
name
;
Mode
mode
;
...
...
@@ -207,7 +207,7 @@ struct option
const
char
*
usage
;
};
static
const
struct
option
option_table
[]
=
{
static
const
struct
my_
option
option_table
[]
=
{
{
"--help"
,
NONE
,
0
,
do_usage
,
"--help Display this help message"
},
{
"-h"
,
NONE
,
0
,
do_usage
,
"-h Synonym for --help"
},
{
"-?"
,
NONE
,
0
,
do_usage
,
"-? Synonym for --help"
},
...
...
@@ -237,7 +237,7 @@ static const struct option option_table[] = {
void
do_usage
(
void
)
{
const
struct
option
*
opt
;
const
struct
my_
option
*
opt
;
printf
(
"Usage: winedump [-h | sym <sym> | spec <dll> | dump <dll> | emf <emf> | lnk <lnk>]
\n
"
);
printf
(
"Mode options (can be put as the mode (sym/spec/dump...) is declared):
\n
"
);
printf
(
"
\t
When used in --help mode
\n
"
);
...
...
@@ -277,7 +277,7 @@ void do_usage (void)
*/
static
void
parse_options
(
char
*
argv
[])
{
const
struct
option
*
opt
;
const
struct
my_
option
*
opt
;
char
*
const
*
ptr
;
const
char
*
arg
=
NULL
;
...
...
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