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 */
|
||||
#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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue