Revert "mi: unexport SetInstalledmiColormap() macro"

This reverts commit aae9bd3f62.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2102>
This commit is contained in:
kohnish 2025-11-18 21:33:38 +01:00 committed by Alan Coopersmith
parent 6bf6a9bff2
commit 9b14b47ff3
4 changed files with 3 additions and 8 deletions

View file

@ -36,11 +36,9 @@
#include "misc.h"
#include "dix/colormap_priv.h"
#include "mi/mi_priv.h"
#include "misc.h"
#include "colormapst.h"
#include "scrnintstr.h"
#include "resource.h"
#include "xf86.h"

View file

@ -19,9 +19,6 @@
#include "include/window.h"
#include "mi/mi.h"
#define SetInstalledmiColormap(s,c) \
(dixSetPrivate(&(s)->devPrivates, micmapScrPrivateKey, c))
void miScreenClose(ScreenPtr pScreen);
void miWideArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc * parcs);

View file

@ -33,8 +33,6 @@
#include <X11/Xproto.h>
#include "dix/colormap_priv.h"
#include "mi/mi_priv.h"
#include "os/osdep.h"
#include "scrnintstr.h"
#include "colormapst.h"

View file

@ -6,6 +6,8 @@
#define GetInstalledmiColormap(s) \
((ColormapPtr) dixLookupPrivate(&(s)->devPrivates, micmapScrPrivateKey))
#define SetInstalledmiColormap(s,c) \
(dixSetPrivate(&(s)->devPrivates, micmapScrPrivateKey, c))
extern _X_EXPORT DevPrivateKeyRec micmapScrPrivateKeyRec;