From b7ba1925b71e7d7aa0b7e0bab2d44641b52ffd38 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 10:43:32 +0200 Subject: [PATCH] xf86VTLeave static --- 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 7a6c9bf03..17c7d36d2 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -153,7 +153,6 @@ extern _X_EXPORT void SetTimeSinceLastInputEvent(void); extern _X_EXPORT void *xf86AddGeneralHandler(int fd, InputHandlerProc proc, void *data); extern _X_EXPORT int xf86RemoveGeneralHandler(void *handler); -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 c24fb6c6d..442579200 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;