diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-02-29 20:01:19 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-09 18:01:52 +0000 |
commit | 2a5e7542755c8b6d1ce046cf92cfc76594d3a86d (patch) | |
tree | 3488f4c8fe67fc11f3a75086d7ff22b1d2450dbb /dix | |
parent | 1b983d7e82b4c3ffd4ba520feca183de857cfa6d (diff) |
dix: unexport SetAccelerationProfile()
Not used by any module, just locally within one source file, thus
unexport and make it static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/ptrveloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |