Revert "mi: unexport miExpandDirectColors()"

libwfb.so has a reference to this function:

 $ nm -D ./build.debug/hw/xfree86/dixmods/libwfb.so | grep miExpandDirectColors
                  U miExpandDirectColors

This reverts commit c3c538784a.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
This commit is contained in:
Aaron Plattner 2025-06-24 10:39:43 -07:00
parent d1ea5a6090
commit 946ff9eac6
3 changed files with 2 additions and 4 deletions

View File

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

View File

@ -6,7 +6,6 @@
#define _XSERVER_MI_PRIV_H
#include <X11/Xdefs.h>
#include <X11/Xproto.h>
#include <X11/Xprotostr.h>
#include "dix/screenint_priv.h"
@ -74,6 +73,4 @@ 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

@ -23,6 +23,8 @@ 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);