(submit/dix_typedef_fixes) 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>
This commit is contained in:
parent
8cac273856
commit
cc8a5164c6
|
@ -13,14 +13,6 @@
|
||||||
/* fwd */
|
/* fwd */
|
||||||
struct _DeviceVelocityRec;
|
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
|
* a motion history, with just enough information to
|
||||||
* calc mean velocity and decide which motion was along
|
* calc mean velocity and decide which motion was along
|
||||||
|
|
Loading…
Reference in New Issue