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
423d6619
Commit
423d6619
authored
Nov 01, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eject: Use BOOL type where appropriate.
parent
8e1fdb84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
eject.c
programs/eject/eject.c
+4
-4
No files found.
programs/eject/eject.c
View file @
423d6619
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
eject
);
WINE_DEFAULT_DEBUG_CHANNEL
(
eject
);
/* options */
/* options */
static
int
unmount_only
;
static
BOOL
unmount_only
;
static
int
eject_all
;
static
BOOL
eject_all
;
/* wrapper for GetDriveTypeW */
/* wrapper for GetDriveTypeW */
static
DWORD
get_drive_type
(
WCHAR
drive
)
static
DWORD
get_drive_type
(
WCHAR
drive
)
...
@@ -134,8 +134,8 @@ static void parse_options( int *argc, char *argv[] )
...
@@ -134,8 +134,8 @@ static void parse_options( int *argc, char *argv[] )
}
}
for
(
opt
=
argv
[
i
]
+
1
;
*
opt
;
opt
++
)
switch
(
*
opt
)
for
(
opt
=
argv
[
i
]
+
1
;
*
opt
;
opt
++
)
switch
(
*
opt
)
{
{
case
'a'
:
eject_all
=
1
;
break
;
case
'a'
:
eject_all
=
TRUE
;
break
;
case
'u'
:
unmount_only
=
1
;
break
;
case
'u'
:
unmount_only
=
TRUE
;
break
;
case
'h'
:
usage
();
break
;
case
'h'
:
usage
();
break
;
default:
default:
WINE_MESSAGE
(
"Unknown option -%c
\n
"
,
*
opt
);
WINE_MESSAGE
(
"Unknown option -%c
\n
"
,
*
opt
);
...
...
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