xfree86: xf86.h: make xf86DisableInputDeviceForVTSwitch() static

Only used locally inside xf86Events.c

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 19:40:14 +02:00
parent 281e12426f
commit 4e07f3c1e0
2 changed files with 1 additions and 3 deletions

View File

@ -185,7 +185,6 @@ extern _X_EXPORT Bool xf86VTOwner(void);
extern _X_EXPORT void xf86VTLeave(void);
extern _X_EXPORT void xf86VTEnter(void);
extern _X_EXPORT void xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo);
extern _X_EXPORT void xf86DisableInputDeviceForVTSwitch(InputInfoPtr pInfo);
/* xf86Helper.c */

View File

@ -295,8 +295,7 @@ xf86ReleaseKeys(DeviceIntPtr pDev)
}
}
void
xf86DisableInputDeviceForVTSwitch(InputInfoPtr pInfo)
static void xf86DisableInputDeviceForVTSwitch(InputInfoPtr pInfo)
{
if (!pInfo->dev)
return;