From daa6587105e3cdf7e7e3482c0eae591b3d58b4a9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 30 Apr 2025 12:25:08 +0200 Subject: [PATCH] xfree86: sbus: unexport xf86SbusProbe() Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Bus.c | 1 + hw/xfree86/common/xf86sbusBus.h | 1 - hw/xfree86/common/xf86sbusBus_priv.h | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index b5bd7364e..f7d1a48a0 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -47,6 +47,7 @@ /* Bus-specific headers */ #include "xf86Bus.h" +#include "xf86sbusBus_priv.h" #include "xf86_OSproc.h" #ifdef XSERVER_LIBPCIACCESS diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index acbc6c04d..9375605fc 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -64,7 +64,6 @@ struct sbus_devtable { const char *descr; }; -extern _X_EXPORT void xf86SbusProbe(void); extern _X_EXPORT sbusDevicePtr *xf86SbusInfo; extern _X_EXPORT struct sbus_devtable sbusDeviceTable[]; diff --git a/hw/xfree86/common/xf86sbusBus_priv.h b/hw/xfree86/common/xf86sbusBus_priv.h index 797044718..da4bf0a6c 100644 --- a/hw/xfree86/common/xf86sbusBus_priv.h +++ b/hw/xfree86/common/xf86sbusBus_priv.h @@ -12,5 +12,6 @@ Bool xf86SbusConfigure(void *busData, sbusDevicePtr sBus); void xf86SbusConfigureNewDev(void *busData, sbusDevicePtr sBus, GDevRec* GDev); +void xf86SbusProbe(void); #endif /* _XSERVER_XF86_SBUSBUS_H */