From 5720dd6c0d195a3d24cc6c4b93b33b135876f31e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 20 May 2025 20:33:56 +0200 Subject: [PATCH] xfree86: xf86.h: unexport platformSlotClaimed 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 | 4 ---- hw/xfree86/common/xf86Bus.h | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index c6a83450c..436400717 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -59,10 +59,6 @@ extern _X_EXPORT DevPrivateKeyRec xf86ScreenKeyRec; extern _X_EXPORT ScrnInfoPtr *xf86Screens; /* List of pointers to ScrnInfoRecs */ extern _X_EXPORT const unsigned char byte_reversed[256]; -#if defined(XSERVER_PLATFORM_BUS) -extern _X_EXPORT int platformSlotClaimed; -#endif - #define XF86SCRNINFO(p) xf86ScreenToScrn(p) /* Compatibility functions for pre-input-thread drivers */ diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index 0ef24217f..0cc1219b8 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -69,5 +69,6 @@ BusType StringToBusType(const char *busID, const char **retID); extern Bool fbSlotClaimed; extern Bool sbusSlotClaimed; +extern int platformSlotClaimed; #endif /* _XF86_BUS_H */