mi: unexport miExpandDirectColors()

Not used by any drivers/modules, so no need to keep it public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1727>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-22 17:14:50 +02:00 committed by Povilas Kanapickas
parent 3cf2408232
commit c3c538784a
3 changed files with 4 additions and 2 deletions

View File

@ -32,6 +32,7 @@
#include <X11/X.h>
#include "dix/colormap_priv.h"
#include "mi/mi_priv.h"
#include "fb.h"
#include "micmap.h"

View File

@ -6,6 +6,7 @@
#define _XSERVER_MI_PRIV_H
#include <X11/Xdefs.h>
#include <X11/Xproto.h>
#include <X11/Xprotostr.h>
#include "dix/screenint_priv.h"
@ -70,4 +71,6 @@ void miMarkUnrealizedWindow(WindowPtr pChild, WindowPtr pWin, Bool fromConfigure
WindowPtr miSpriteTrace(SpritePtr pSprite, int x, int y);
WindowPtr miXYToWindow(ScreenPtr pScreen, SpritePtr pSprite, int x, int y);
int miExpandDirectColors(ColormapPtr, int, xColorItem *, xColorItem *);
#endif /* _XSERVER_MI_PRIV_H */

View File

@ -25,8 +25,6 @@ extern _X_EXPORT void miUninstallColormap(ColormapPtr pmap);
extern _X_EXPORT void miResolveColor(unsigned short *, unsigned short *,
unsigned short *, VisualPtr);
extern _X_EXPORT Bool miInitializeColormap(ColormapPtr);
extern _X_EXPORT int miExpandDirectColors(ColormapPtr, int, xColorItem *,
xColorItem *);
extern _X_EXPORT Bool miCreateDefColormap(ScreenPtr);
extern _X_EXPORT void miClearVisualTypes(void);
extern _X_EXPORT Bool miSetVisualTypes(int, int, int, int);