From 32597da0ce8eabfc8ff13e029596ca9a9267cf8c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 10:45:02 +0200 Subject: [PATCH] xfree86: xf86.h: unexport xf86VTEnter() Not used by any external drivers. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86.h | 1 - hw/xfree86/common/xf86_priv.h | 1 + hw/xfree86/os-support/linux/systemd-logind.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 6adaac4ba..2fc27c311 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 xf86VTEnter(void); extern _X_EXPORT void xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo); /* xf86Helper.c */ diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index 09293ab27..21117bea9 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -21,5 +21,6 @@ void xf86InitOrigins(void); InputHandlerProc xf86SetConsoleHandler(InputHandlerProc handler, void *data); void xf86ProcessActionEvent(ActionEvent action, void *arg); Bool xf86VTOwner(void); +void xf86VTEnter(void); #endif /* _XSERVER_XF86_PRIV_H */ diff --git a/hw/xfree86/os-support/linux/systemd-logind.c b/hw/xfree86/os-support/linux/systemd-logind.c index a2e358180..dc4061bc6 100644 --- a/hw/xfree86/os-support/linux/systemd-logind.c +++ b/hw/xfree86/os-support/linux/systemd-logind.c @@ -37,7 +37,7 @@ #include "os.h" #include "linux.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86platformBus.h" #include "xf86Xinput_priv.h" #include "xf86Priv.h"