diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-03-20 19:26:02 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-09-01 22:32:49 +0000 |
commit | df5047fa46aea780b905e4abade32f36bc1be04d (patch) | |
tree | 23f2cca872af321b05aa8e9650072f815d51bde6 /dix | |
parent | 8a3cce010188dbb39931f3add0709adc0fe2fe4f (diff) |
dix: fix duplicate typedef of PointerAccelerationProfileFunc
fix warning:
> ../dix/ptrveloc_priv.h:20:18: warning: redefinition of typedef 'PointerAccelerationProfileFunc' is a C11 feature [-Wtypedef-redefinition]
> typedef double (*PointerAccelerationProfileFunc)
> ^
> ../include/ptrveloc.h:50:18: note: previous definition is here
> typedef double (*PointerAccelerationProfileFunc)
> ^
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1427>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/ptrveloc_priv.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dix/ptrveloc_priv.h b/dix/ptrveloc_priv.h index a96401b90..3211585e3 100644 --- a/dix/ptrveloc_priv.h +++ b/dix/ptrveloc_priv.h @@ -14,14 +14,6 @@ struct _DeviceVelocityRec; /** - * profile - * returns actual acceleration depending on velocity, acceleration control,... - */ -typedef double (*PointerAccelerationProfileFunc) - (DeviceIntPtr dev, struct _DeviceVelocityRec * vel, - double velocity, double threshold, double accelCoeff); - -/** * a motion history, with just enough information to * calc mean velocity and decide which motion was along * a more or less straight line |