From f5777ff1dc612651453a77e73d1ae59e34c76de0 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 20 Jun 2025 14:26:56 +0200 Subject: [PATCH] xfree86: export xf86IsEntityPrimary() but keep it internal Needed by the int10 module, so has to be in the symbol table. But still not supposed to be used by out-of-tree drivers. Reported-by: stefan11111 Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Bus.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index 07ba4b1f1..4c0bc19ab 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -75,7 +75,10 @@ extern int pciSlotClaimed; Bool xf86ComparePciBusString(const char *busID, int bus, int device, int func); Bool xf86DriverHasEntities(DriverPtr drvp); void xf86RemoveEntityFromScreen(ScrnInfoPtr pScrn, int entityIndex); + +_X_EXPORT /* only for internal int10 module - not supposed to be used by OOT drivers */ Bool xf86IsEntityPrimary(int entityIndex); + ScrnInfoPtr xf86FindScreenForEntity(int entityIndex); Bool xf86BusConfig(void);