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>
This commit is contained in:
parent
1b983d7e82
commit
2a5e754275
|
@ -92,6 +92,8 @@ DeletePredictableAccelerationProperties(DeviceIntPtr,
|
||||||
/* some int which is not a profile number */
|
/* some int which is not a profile number */
|
||||||
#define PROFILE_UNINITIALIZE (-100)
|
#define PROFILE_UNINITIALIZE (-100)
|
||||||
|
|
||||||
|
static int SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init DeviceVelocity struct so it should match the average case
|
* 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.
|
* returns FALSE if profile number is unavailable, TRUE otherwise.
|
||||||
*/
|
*/
|
||||||
int
|
static int SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num)
|
||||||
SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num)
|
|
||||||
{
|
{
|
||||||
PointerAccelerationProfileFunc profile;
|
PointerAccelerationProfileFunc profile;
|
||||||
|
|
||||||
|
|
|
@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec {
|
||||||
} statistics;
|
} statistics;
|
||||||
} DeviceVelocityRec, *DeviceVelocityPtr;
|
} DeviceVelocityRec, *DeviceVelocityPtr;
|
||||||
|
|
||||||
extern _X_EXPORT int
|
|
||||||
SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
|
|
||||||
|
|
||||||
extern _X_EXPORT DeviceVelocityPtr
|
extern _X_EXPORT DeviceVelocityPtr
|
||||||
GetDevicePredictableAccelData(DeviceIntPtr dev);
|
GetDevicePredictableAccelData(DeviceIntPtr dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue