From cdea9dc13342e24bcf8b5476c8ec96e8490430b4 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 10:18:13 +0200 Subject: [PATCH] xfree86: xf86.h: unexport xf86IsEntityPrimary() Not used by any external drivers. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86.h | 1 - hw/xfree86/common/xf86Bus.h | 1 + hw/xfree86/common/xf86Configure.c | 1 + hw/xfree86/int10/generic.c | 1 + hw/xfree86/int10/helper_exec.c | 1 + 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 288443b18..bdfe78e40 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -105,7 +105,6 @@ extern _X_EXPORT void xf86SetEntityInstanceForScreen(ScrnInfoPtr pScrn, extern _X_EXPORT int xf86GetNumEntityInstances(int entityIndex); extern _X_EXPORT GDevPtr xf86GetDevFromEntity(int entityIndex, int instance); extern _X_EXPORT EntityInfoPtr xf86GetEntityInfo(int entityIndex); -extern _X_EXPORT Bool xf86IsEntityPrimary(int entityIndex); extern _X_EXPORT ScrnInfoPtr xf86FindScreenForEntity(int entityIndex); #define xf86SetLastScrnFlag(e, s) do { } while (0) diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index 93cc8ce93..a6581b470 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -75,5 +75,6 @@ extern int pciSlotClaimed; Bool xf86ComparePciBusString(const char *busID, int bus, int device, int func); Bool xf86DriverHasEntities(DriverPtr drvp); void xf86RemoveEntityFromScreen(ScrnInfoPtr pScrn, int entityIndex); +Bool xf86IsEntityPrimary(int entityIndex); #endif /* _XF86_BUS_H */ diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index e0bffef1a..2bcc215c0 100644 --- a/hw/xfree86/common/xf86Configure.c +++ b/hw/xfree86/common/xf86Configure.c @@ -33,6 +33,7 @@ #include "os/osdep.h" #include "xf86_priv.h" +#include "xf86Bus.h" #include "xf86Config.h" #include "xf86_OSlib.h" #include "xf86Priv.h" diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c index 8b9ff07c5..db26b589b 100644 --- a/hw/xfree86/int10/generic.c +++ b/hw/xfree86/int10/generic.c @@ -13,6 +13,7 @@ #include "xf86.h" #include "xf86_OSproc.h" +#include "xf86Bus.h" #include "compiler.h" #define _INT10_PRIVATE #include "xf86int10_priv.h" diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c index ed8ec4f87..34dfb675d 100644 --- a/hw/xfree86/int10/helper_exec.c +++ b/hw/xfree86/int10/helper_exec.c @@ -27,6 +27,7 @@ #include "xf86.h" #include "xf86_OSproc.h" +#include "xf86Bus.h" #include "compiler.h" #define _INT10_PRIVATE #include "int10Defines.h"