dix: unexport FreeColors()

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 12:18:59 +02:00 committed by Marge Bot
parent c2e49c82be
commit 6809621985
2 changed files with 2 additions and 6 deletions

View File

@ -47,4 +47,6 @@ int AllocColorPlanes(int client, ColormapPtr pmap, int colors, int r, int g,
int b, Bool contig, Pixel *pixels, Pixel *prmask, int b, Bool contig, Pixel *pixels, Pixel *prmask,
Pixel *pgmask, Pixel *pbmask); Pixel *pgmask, Pixel *pbmask);
int FreeColors(ColormapPtr pmap, int client, int count, Pixel *pixels, Pixel mask);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -74,12 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */ /* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr; typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int FreeColors(ColormapPtr /*pmap */ ,
int /*client */ ,
int /*count */ ,
Pixel * /*pixels */ ,
Pixel /*mask */ );
extern _X_EXPORT int StoreColors(ColormapPtr /*pmap */ , extern _X_EXPORT int StoreColors(ColormapPtr /*pmap */ ,
int /*count */ , int /*count */ ,
xColorItem * /*defs */ , xColorItem * /*defs */ ,