diff --git a/dix/ptrveloc_priv.h b/dix/ptrveloc_priv.h index 3211585e3..da834e955 100644 --- a/dix/ptrveloc_priv.h +++ b/dix/ptrveloc_priv.h @@ -18,11 +18,11 @@ struct _DeviceVelocityRec; * calc mean velocity and decide which motion was along * a more or less straight line */ -typedef struct _MotionTracker { +struct _MotionTracker { double dx, dy; /* accumulated delta for each axis */ int time; /* time of creation */ int dir; /* initial direction bitfield */ -} MotionTracker, *MotionTrackerPtr; +}; /** * contains the run-time data for the predictable scheme, that is, a