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
c440168e
Commit
c440168e
authored
Nov 21, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Nov 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Remove unused functions (Clang).
parent
dec5bbbe
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
16 deletions
+3
-16
dinput_main.c
dlls/dinput/dinput_main.c
+0
-4
joystick_linux.c
dlls/dinput/joystick_linux.c
+1
-4
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+1
-4
mouse.c
dlls/dinput/mouse.c
+1
-4
No files found.
dlls/dinput/dinput_main.c
View file @
c440168e
...
...
@@ -79,10 +79,6 @@ static inline IDirectInputImpl *impl_from_IDirectInput8W( IDirectInput8W *iface
return
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
IDirectInput8W_iface
);
}
static
inline
IDirectInputDeviceImpl
*
impl_from_IDirectInputDevice8A
(
IDirectInputDevice8A
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectInputDeviceImpl
,
IDirectInputDevice8A_iface
);
}
static
inline
IDirectInputDeviceImpl
*
impl_from_IDirectInputDevice8W
(
IDirectInputDevice8W
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectInputDeviceImpl
,
IDirectInputDevice8W_iface
);
...
...
dlls/dinput/joystick_linux.c
View file @
c440168e
...
...
@@ -107,10 +107,7 @@ static inline JoystickImpl *impl_from_IDirectInputDevice8W(IDirectInputDevice8W
return
CONTAINING_RECORD
(
CONTAINING_RECORD
(
CONTAINING_RECORD
(
iface
,
IDirectInputDeviceImpl
,
IDirectInputDevice8W_iface
),
JoystickGenericImpl
,
base
),
JoystickImpl
,
generic
);
}
static
inline
IDirectInputDevice8A
*
IDirectInputDevice8A_from_impl
(
JoystickImpl
*
This
)
{
return
&
This
->
generic
.
base
.
IDirectInputDevice8A_iface
;
}
static
inline
IDirectInputDevice8W
*
IDirectInputDevice8W_from_impl
(
JoystickImpl
*
This
)
{
return
&
This
->
generic
.
base
.
IDirectInputDevice8W_iface
;
...
...
dlls/dinput/joystick_linuxinput.c
View file @
c440168e
...
...
@@ -143,10 +143,7 @@ static inline JoystickImpl *impl_from_IDirectInputDevice8W(IDirectInputDevice8W
return
CONTAINING_RECORD
(
CONTAINING_RECORD
(
CONTAINING_RECORD
(
iface
,
IDirectInputDeviceImpl
,
IDirectInputDevice8W_iface
),
JoystickGenericImpl
,
base
),
JoystickImpl
,
generic
);
}
static
inline
IDirectInputDevice8A
*
IDirectInputDevice8A_from_impl
(
JoystickImpl
*
This
)
{
return
&
This
->
generic
.
base
.
IDirectInputDevice8A_iface
;
}
static
inline
IDirectInputDevice8W
*
IDirectInputDevice8W_from_impl
(
JoystickImpl
*
This
)
{
return
&
This
->
generic
.
base
.
IDirectInputDevice8W_iface
;
...
...
dlls/dinput/mouse.c
View file @
c440168e
...
...
@@ -85,10 +85,7 @@ static inline SysMouseImpl *impl_from_IDirectInputDevice8W(IDirectInputDevice8W
{
return
CONTAINING_RECORD
(
CONTAINING_RECORD
(
iface
,
IDirectInputDeviceImpl
,
IDirectInputDevice8W_iface
),
SysMouseImpl
,
base
);
}
static
inline
IDirectInputDevice8A
*
IDirectInputDevice8A_from_impl
(
SysMouseImpl
*
This
)
{
return
&
This
->
base
.
IDirectInputDevice8A_iface
;
}
static
inline
IDirectInputDevice8W
*
IDirectInputDevice8W_from_impl
(
SysMouseImpl
*
This
)
{
return
&
This
->
base
.
IDirectInputDevice8W_iface
;
...
...
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