diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c index 200cd48c2..5166288e8 100644 --- a/dix/ptrveloc.c +++ b/dix/ptrveloc.c @@ -92,6 +92,8 @@ DeletePredictableAccelerationProperties(DeviceIntPtr, /* some int which is not a profile number */ #define PROFILE_UNINITIALIZE (-100) +static int SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num); + /** * Init DeviceVelocity struct so it should match the average case */ @@ -1012,8 +1014,7 @@ GetAccelerationProfile(DeviceVelocityPtr vel, int profile_num) * * returns FALSE if profile number is unavailable, TRUE otherwise. */ -int -SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num) +static int SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num) { PointerAccelerationProfileFunc profile; diff --git a/include/ptrveloc.h b/include/ptrveloc.h index 9ff2dfa06..6a22581b1 100644 --- a/include/ptrveloc.h +++ b/include/ptrveloc.h @@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec { } statistics; } DeviceVelocityRec, *DeviceVelocityPtr; -extern _X_EXPORT int -SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num); - extern _X_EXPORT DeviceVelocityPtr GetDevicePredictableAccelData(DeviceIntPtr dev);