From 4e07f3c1e035227f01b7e732a3f9814c69cde4ab Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 20 May 2025 19:40:14 +0200 Subject: [PATCH] xfree86: xf86.h: make xf86DisableInputDeviceForVTSwitch() static Only used locally inside xf86Events.c Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86.h | 1 - hw/xfree86/common/xf86Events.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index a0a042f12..603631c8e 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -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 */ diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index 6c7cb1971..a61cff35d 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -295,8 +295,7 @@ xf86ReleaseKeys(DeviceIntPtr pDev) } } -void -xf86DisableInputDeviceForVTSwitch(InputInfoPtr pInfo) +static void xf86DisableInputDeviceForVTSwitch(InputInfoPtr pInfo) { if (!pInfo->dev) return;