From a51a624d80c3d1ec42f902499c5eb20dbc591326 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 23 Apr 2025 14:21:21 +0200 Subject: [PATCH] (!1954) fb: unexport fbListInstalledColormaps() Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- fb/fb.h | 3 --- fb/fb_priv.h | 1 + fb/fbcmap_mi.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fb/fb.h b/fb/fb.h index 03135ce69..712fa1baf 100644 --- a/fb/fb.h +++ b/fb/fb.h @@ -641,9 +641,6 @@ fbBltPlane(FbBits * src, /* * fbcmap_mi.c */ -extern _X_EXPORT int - fbListInstalledColormaps(ScreenPtr pScreen, Colormap * pmaps); - extern _X_EXPORT void fbInstallColormap(ColormapPtr pmap); diff --git a/fb/fb_priv.h b/fb/fb_priv.h index fbcc6bd17..b67d1a064 100644 --- a/fb/fb_priv.h +++ b/fb/fb_priv.h @@ -22,5 +22,6 @@ static inline void fbValidateDrawable(DrawablePtr d) {} #endif /* FB_DEBUG */ Bool fbAllocatePrivates(ScreenPtr pScreen); +int fbListInstalledColormaps(ScreenPtr pScreen, Colormap* pmaps); #endif /* XORG_FB_PRIV_H */ diff --git a/fb/fbcmap_mi.c b/fb/fbcmap_mi.c index 4fd96e6c0..b2b50e37d 100644 --- a/fb/fbcmap_mi.c +++ b/fb/fbcmap_mi.c @@ -32,9 +32,9 @@ #include #include "dix/colormap_priv.h" +#include "fb/fb_priv.h" #include "mi/mi_priv.h" -#include "fb.h" #include "micmap.h" int