mi: unexport SetInstalledmiColormap() macro

Not neeed by any drivers/modules, so no need to keep it exported.

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:18:30 +02:00 committed by Povilas Kanapickas
parent c3c538784a
commit aae9bd3f62
4 changed files with 7 additions and 3 deletions

View File

@ -36,9 +36,11 @@
#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

@ -20,6 +20,9 @@
#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,6 +33,7 @@
#include <X11/Xproto.h>
#include "dix/colormap_priv.h"
#include "mi/mi_priv.h"
#include "scrnintstr.h"
#include "colormapst.h"

View File

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