From 819df143d469400afeee489f36ca5ac75aec2f1e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 20 May 2025 20:27:27 +0200 Subject: [PATCH] xfree86: xf86.h: unexport xf86ProbeIgnorePrimary field Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86.h | 1 - hw/xfree86/common/xf86_priv.h | 1 + hw/xfree86/common/xf86platformBus.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 53135e029..8c0873661 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -50,7 +50,6 @@ #endif /* General parameters */ -extern _X_EXPORT Bool xf86ProbeIgnorePrimary; extern _X_EXPORT Bool xorgHWAccess; extern _X_EXPORT DevPrivateKeyRec xf86ScreenKeyRec; diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index 52a91e0bb..f5688f4d2 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -9,5 +9,6 @@ extern Bool xf86DoConfigure; extern Bool xf86DoConfigurePass1; +extern Bool xf86ProbeIgnorePrimary; #endif /* _XSERVER_XF86_PRIV_H */ diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c index c9d4fcc6e..f2fb4bd97 100644 --- a/hw/xfree86/common/xf86platformBus.c +++ b/hw/xfree86/common/xf86platformBus.c @@ -45,7 +45,7 @@ #include "../os-support/linux/systemd-logind.h" #include "loaderProcs.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86_os_support.h" #include "xf86_OSproc.h" #include "xf86Opt_priv.h"