From 3dcfa8a77ff17fedda965e5f5231d8c10352dd8d Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 11:25:49 +0200 Subject: [PATCH] xfree86: xf86Priv.h: unexport xf86AllowMouseOpenFail field Not used by any external drivers. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Config.c | 2 +- hw/xfree86/common/xf86Priv.h | 1 - hw/xfree86/common/xf86_priv.h | 7 +++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 21cf3a80b..cbb0099a6 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -55,7 +55,7 @@ #include "os/osdep.h" #include "xkb/xkbsrv_priv.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86Modes.h" #include "xf86Parser_priv.h" #include "xf86tokens.h" diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 835935ea4..7816b3ca7 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -42,7 +42,6 @@ * Parameters set ONLY from the command line options * The global state of these things is held in xf86InfoRec (when appropriate). */ -extern _X_EXPORT Bool xf86AllowMouseOpenFail; extern _X_EXPORT Bool xf86AutoBindGPUDisabled; #ifdef XF86VIDMODE diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index ec932cf83..2ec91a032 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -11,6 +11,13 @@ extern Bool xf86DoConfigure; extern Bool xf86DoConfigurePass1; extern Bool xf86ProbeIgnorePrimary; +/* + * Parameters set ONLY from the command line options + * The global state of these things is held in xf86InfoRec (when appropriate). + */ +/* globals.c */ +extern Bool xf86AllowMouseOpenFail; + /* xf86Cursor.c */ void xf86LockZoom(ScreenPtr pScreen, int lock); void xf86InitViewport(ScrnInfoPtr pScr);