From e33cee7e9c1eaef250ac6aac3d66c53dcded9618 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 30 Apr 2025 13:07:13 +0200 Subject: [PATCH] xfree86: sbus: unexport sbusDeviceTable field Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86sbusBus.h | 2 -- hw/xfree86/common/xf86sbusBus_priv.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index 48ea74fed..a445728e5 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -64,8 +64,6 @@ struct sbus_devtable { const char *descr; }; -extern _X_EXPORT struct sbus_devtable sbusDeviceTable[]; - extern _X_EXPORT int xf86MatchSbusInstances(const char *driverName, int sbusDevId, GDevPtr * devList, int numDevs, DriverPtr drvp, diff --git a/hw/xfree86/common/xf86sbusBus_priv.h b/hw/xfree86/common/xf86sbusBus_priv.h index c46fdb529..0c2aa6844 100644 --- a/hw/xfree86/common/xf86sbusBus_priv.h +++ b/hw/xfree86/common/xf86sbusBus_priv.h @@ -11,6 +11,7 @@ #include "xf86sbusBus.h" extern sbusDevicePtr *xf86SbusInfo; +extern struct sbus_devtable sbusDeviceTable[]; Bool xf86SbusConfigure(void *busData, sbusDevicePtr sBus); void xf86SbusConfigureNewDev(void *busData, sbusDevicePtr sBus, GDevRec* GDev);