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