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:
parent
3874fced31
commit
b48e4a9cb7
|
@ -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 */
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
|
||||
#include "fb.h"
|
||||
#include "micmap.h"
|
||||
|
||||
|
|
|
@ -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 */ );
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
#ifndef _MIINDEX_H_
|
||||
#define _MIINDEX_H_
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
|
||||
#include "scrnintstr.h"
|
||||
#include "gcstruct.h"
|
||||
#include "pixmapstr.h"
|
||||
|
|
Loading…
Reference in New Issue