From 4e38c991559d02626c6e130a78d1be736cf0d542 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 19 May 2025 17:35:15 +0200 Subject: [PATCH] xfree86: unexport xf86VGAarbiterAllowDRI() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86VGAarbiter.h | 4 ---- hw/xfree86/common/xf86VGAarbiter_priv.h | 2 ++ hw/xfree86/dri/dri.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hw/xfree86/common/xf86VGAarbiter.h b/hw/xfree86/common/xf86VGAarbiter.h index 9a7815d74..e3530f730 100644 --- a/hw/xfree86/common/xf86VGAarbiter.h +++ b/hw/xfree86/common/xf86VGAarbiter.h @@ -30,8 +30,4 @@ #include "misc.h" #include "xf86.h" -/* DRI and arbiter are really not possible together, - * you really want to remove the card from arbitration if you can */ -extern _X_EXPORT Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen); - #endif /* __XF86VGAARBITER_H */ diff --git a/hw/xfree86/common/xf86VGAarbiter_priv.h b/hw/xfree86/common/xf86VGAarbiter_priv.h index 5c23d83d3..9b556ccec 100644 --- a/hw/xfree86/common/xf86VGAarbiter_priv.h +++ b/hw/xfree86/common/xf86VGAarbiter_priv.h @@ -29,4 +29,6 @@ static inline void xf86VGAarbiterUnlock(ScrnInfoPtr pScrn) {} #endif /* XSERVER_LIBPCIACCESS */ +Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen); + #endif /* _XSERVER_XF86VGAARBITERPRIV_H */ diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 2f584a654..9ad26e71c 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -72,7 +72,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "xf86_os_support.h" #include "xf86_OSproc.h" #include "inputstr.h" -#include "xf86VGAarbiter.h" +#include "xf86VGAarbiter_priv.h" #include "xf86Extensions.h" static int DRIEntPrivIndex = -1;