dix: unexport FreeVelocityData()
Only used within one source, not used by external modules, 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
9d3766080b
commit
1b983d7e82
|
@ -115,8 +115,7 @@ static void InitVelocityData(DeviceVelocityPtr vel)
|
||||||
/**
|
/**
|
||||||
* Clean up DeviceVelocityRec
|
* Clean up DeviceVelocityRec
|
||||||
*/
|
*/
|
||||||
void
|
static void FreeVelocityData(DeviceVelocityPtr vel)
|
||||||
FreeVelocityData(DeviceVelocityPtr vel)
|
|
||||||
{
|
{
|
||||||
free(vel->tracker);
|
free(vel->tracker);
|
||||||
SetAccelerationProfile(vel, PROFILE_UNINITIALIZE);
|
SetAccelerationProfile(vel, PROFILE_UNINITIALIZE);
|
||||||
|
|
|
@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec {
|
||||||
} statistics;
|
} statistics;
|
||||||
} DeviceVelocityRec, *DeviceVelocityPtr;
|
} DeviceVelocityRec, *DeviceVelocityPtr;
|
||||||
|
|
||||||
extern _X_EXPORT void
|
|
||||||
FreeVelocityData(DeviceVelocityPtr vel);
|
|
||||||
|
|
||||||
extern _X_EXPORT int
|
extern _X_EXPORT int
|
||||||
SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
|
SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue