diff --git a/dix/ptrveloc_priv.h b/dix/ptrveloc_priv.h index a4118cf65..a96401b90 100644 --- a/dix/ptrveloc_priv.h +++ b/dix/ptrveloc_priv.h @@ -53,4 +53,6 @@ void acceleratePointerPredictable(DeviceIntPtr dev, ValuatorMask *val, void acceleratePointerLightweight(DeviceIntPtr dev, ValuatorMask *val, CARD32 evtime); +void InitTrackers(DeviceVelocityPtr vel, int ntracker); + #endif /* _XSERVER_POINTERVELOCITY_PRIV_H */ diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 245db5776..8091a2450 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -55,6 +55,9 @@ #include #include #include + +#include "dix/ptrveloc_priv.h" + #include "xf86.h" #include "xf86Priv.h" #include "xf86Config.h" diff --git a/include/ptrveloc.h b/include/ptrveloc.h index 1280978bd..aa46c0191 100644 --- a/include/ptrveloc.h +++ b/include/ptrveloc.h @@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec { } statistics; } DeviceVelocityRec, *DeviceVelocityPtr; -extern _X_EXPORT void -InitTrackers(DeviceVelocityPtr vel, int ntracker); - extern _X_EXPORT BOOL ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time);