dix: unexport AllocColor()

Not used by any driver/module, 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/1581>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 11:34:23 +02:00 committed by Marge Bot
parent 3874fced31
commit b48e4a9cb7
4 changed files with 8 additions and 7 deletions

View File

@ -25,4 +25,7 @@ int TellGainedMap(WindowPtr pwin, void *value);
int CopyColormapAndFree(Colormap mid, ColormapPtr pSrc, int client);
int AllocColor(ColormapPtr pmap, unsigned short *pred, unsigned short *pgreen,
unsigned short *pblue, Pixel *pPix, int client );
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

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

View File

@ -74,13 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int AllocColor(ColormapPtr /*pmap */ ,
unsigned short * /*pred */ ,
unsigned short * /*pgreen */ ,
unsigned short * /*pblue */ ,
Pixel * /*pPix */ ,
int /*client */ );
extern _X_EXPORT void FakeAllocColor(ColormapPtr /*pmap */ ,
xColorItem * /*item */ );

View File

@ -28,6 +28,8 @@
#ifndef _MIINDEX_H_
#define _MIINDEX_H_
#include "dix/colormap_priv.h"
#include "scrnintstr.h"
#include "gcstruct.h"
#include "pixmapstr.h"