From 8abc8785f3b74ad0fa618f45f72a5e6f1ea3edd8 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 10:09:25 +0200 Subject: [PATCH] xfree86: xf86.h: unexport pciSlotClaimed 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 | 2 -- hw/xfree86/common/xf86Bus.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 436400717..2eb0442e0 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -68,8 +68,6 @@ static inline _X_DEPRECATED void xf86UnblockSIGIO(int wasset) { input_unlock(); /* PCI related */ #ifdef XSERVER_LIBPCIACCESS #include -extern _X_EXPORT int pciSlotClaimed; - extern _X_EXPORT Bool xf86CheckPciSlot(const struct pci_device *); extern _X_EXPORT int xf86ClaimPciSlot(struct pci_device *, DriverPtr drvp, int chipset, GDevPtr dev, Bool active); diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index 0cc1219b8..9287a1834 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -70,5 +70,6 @@ BusType StringToBusType(const char *busID, const char **retID); extern Bool fbSlotClaimed; extern Bool sbusSlotClaimed; extern int platformSlotClaimed; +extern int pciSlotClaimed; #endif /* _XF86_BUS_H */