From edf87483caa663a56c35d2009d708193ed63cd21 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 10:43:32 +0200 Subject: [PATCH] xfree86: xf86.h: make xf86VTLeave() static Only used locally in xf86Events.c Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86.h | 1 - hw/xfree86/common/xf86Events.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index f4ee9fbdc..ccb49f59f 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -182,7 +182,6 @@ extern _X_EXPORT InputHandlerProc xf86SetConsoleHandler(InputHandlerProc handler, void *data); extern _X_EXPORT void xf86ProcessActionEvent(ActionEvent action, void *arg); 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); diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index a61cff35d..82977f482 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -345,7 +345,7 @@ static void xf86EnableInputHandler(void *handler); static void xf86DisableGeneralHandler(void *handler); static void xf86EnableGeneralHandler(void *handler); -void +static void xf86VTLeave(void) { int i;