From bbf7cbb4ccd28c58b088cd92a2b1393fd613b1d5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 30 Apr 2025 13:09:33 +0200 Subject: [PATCH] xfree86: sbus: unexport struct sbus_devtable 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 | 8 -------- hw/xfree86/common/xf86sbusBus_priv.h | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index a445728e5..fd726443d 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -56,14 +56,6 @@ typedef struct sbus_device { const char *device; } sbusDevice, *sbusDevicePtr; -struct sbus_devtable { - int devId; - int fbType; - const char *promName; - const char *driverName; - const char *descr; -}; - 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 0c2aa6844..cb6381333 100644 --- a/hw/xfree86/common/xf86sbusBus_priv.h +++ b/hw/xfree86/common/xf86sbusBus_priv.h @@ -10,6 +10,14 @@ #include "xf86sbusBus.h" +struct sbus_devtable { + int devId; + int fbType; + const char *promName; + const char *driverName; + const char *descr; +}; + extern sbusDevicePtr *xf86SbusInfo; extern struct sbus_devtable sbusDeviceTable[];