mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:30:50 +00:00
dinput: Make ff_effect_direction_to_rad() static.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6834367a16
commit
adb39b8fde
|
@ -67,7 +67,7 @@ static inline LinuxInputEffectImpl *impl_from_IDirectInputEffect(IDirectInputEff
|
|||
return CONTAINING_RECORD(iface, LinuxInputEffectImpl, IDirectInputEffect_iface);
|
||||
}
|
||||
|
||||
double ff_effect_direction_to_rad(unsigned int dir)
|
||||
static double ff_effect_direction_to_rad(unsigned int dir)
|
||||
{
|
||||
return (dir & 0xffff) * M_PI / 0x8000;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue