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 <stefan11111@shitposting.expert>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-20 14:26:56 +02:00 committed by Enrico Weigelt
parent 66547c7971
commit f5777ff1dc

View File

@ -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);