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
|
||||
*/
|
||||
void
|
||||
FreeVelocityData(DeviceVelocityPtr vel)
|
||||
static void FreeVelocityData(DeviceVelocityPtr vel)
|
||||
{
|
||||
free(vel->tracker);
|
||||
SetAccelerationProfile(vel, PROFILE_UNINITIALIZE);
|
||||
|
|
|
@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec {
|
|||
} statistics;
|
||||
} DeviceVelocityRec, *DeviceVelocityPtr;
|
||||
|
||||
extern _X_EXPORT void
|
||||
FreeVelocityData(DeviceVelocityPtr vel);
|
||||
|
||||
extern _X_EXPORT int
|
||||
SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
|
||||
|
||||
|
|
Loading…
Reference in New Issue