From 83a85e06f779d60ebb1fcdbd0bd37849203b90f2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 30 Apr 2025 12:47:06 +0200 Subject: [PATCH] xfree86: sbus: unexport sparcDriverName() Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86AutoConfig.c | 2 +- hw/xfree86/common/xf86sbusBus.h | 1 - hw/xfree86/common/xf86sbusBus_priv.h | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 5bbf876d9..c6feb5456 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -44,7 +44,7 @@ #include "xf86platformBus.h" #include "xf86pciBus.h" #ifdef __sparc__ -#include "xf86sbusBus.h" +#include "xf86sbusBus_priv.h" #endif #ifdef __sun diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index fdd13c372..6bc6a654b 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -96,6 +96,5 @@ extern _X_EXPORT int promGetBool(const char *prop); extern _X_EXPORT int sparcPromInit(void); extern _X_EXPORT void sparcPromClose(void); extern _X_EXPORT int sparcPromGetBool(sbusPromNodePtr pnode, const char *prop); -extern _X_EXPORT char *sparcDriverName(void); #endif /* _XF86_SBUSBUS_H */ diff --git a/hw/xfree86/common/xf86sbusBus_priv.h b/hw/xfree86/common/xf86sbusBus_priv.h index 7b52f6f31..56227dbef 100644 --- a/hw/xfree86/common/xf86sbusBus_priv.h +++ b/hw/xfree86/common/xf86sbusBus_priv.h @@ -18,5 +18,6 @@ char *sparcPromGetProperty(sbusPromNodePtr pnode, const char *prop, int *lenp); void sparcPromAssignNodes(void); char *sparcPromNode2Pathname(sbusPromNodePtr pnode); int sparcPromPathname2Node(const char *pathName); +char *sparcDriverName(void); #endif /* _XSERVER_XF86_SBUSBUS_H */