From fd9a447dc8643c46b3a274b57408b5af41c1b2a0 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 20 May 2025 20:30:38 +0200 Subject: [PATCH] xfree86: xf86.h: unexport sbusSlotClaimed 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 2675515b8..c6a83450c 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(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__) -extern _X_EXPORT Bool sbusSlotClaimed; -#endif - #if defined(XSERVER_PLATFORM_BUS) extern _X_EXPORT int platformSlotClaimed; #endif diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index 221ccf00b..0ef24217f 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -68,5 +68,6 @@ int xf86AllocateEntity(void); BusType StringToBusType(const char *busID, const char **retID); extern Bool fbSlotClaimed; +extern Bool sbusSlotClaimed; #endif /* _XF86_BUS_H */