diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c index 1245b7bfa..a79a83eee 100644 --- a/dix/ptrveloc.c +++ b/dix/ptrveloc.c @@ -690,8 +690,7 @@ QueryTrackers(DeviceVelocityPtr vel, int cur_t) * Perform velocity approximation based on 2D 'mickeys' (mouse motion delta). * return true if non-visible state reset is suggested */ -BOOL -ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time) +static BOOL ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time) { double velocity; diff --git a/include/ptrveloc.h b/include/ptrveloc.h index aa46c0191..024123ba5 100644 --- a/include/ptrveloc.h +++ b/include/ptrveloc.h @@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec { } statistics; } DeviceVelocityRec, *DeviceVelocityPtr; -extern _X_EXPORT BOOL -ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time); - extern _X_EXPORT double BasicComputeAcceleration(DeviceIntPtr dev, DeviceVelocityPtr vel, double velocity, double threshold, double acc);