dix: unexport CopyColormapAndFree()

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:29:06 +02:00 committed by Marge Bot
parent de4db967e0
commit 3874fced31
2 changed files with 2 additions and 4 deletions

View File

@ -23,4 +23,6 @@ int TellLostMap(WindowPtr pwin, void *value);
int TellGainedMap(WindowPtr pwin, void *value);
int CopyColormapAndFree(Colormap mid, ColormapPtr pSrc, int client);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -74,10 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int CopyColormapAndFree(Colormap /*mid */ ,
ColormapPtr /*pSrc */ ,
int /*client */ );
extern _X_EXPORT int AllocColor(ColormapPtr /*pmap */ ,
unsigned short * /*pred */ ,
unsigned short * /*pgreen */ ,