(submit/colormap.h) dix: unexport AllocColorPlanes()

Not used by any driver/module, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 12:14:01 +02:00
parent f0ac7ba9cb
commit 4f7cb4605e
2 changed files with 4 additions and 12 deletions

View File

@ -43,4 +43,8 @@ int FreeClientPixels(void *pcr, XID fakeid);
int AllocColorCells(int client, ColormapPtr pmap, int colors, int planes,
Bool contig, Pixel *ppix, Pixel *masks);
int AllocColorPlanes(int client, ColormapPtr pmap, int colors, int r, int g,
int b, Bool contig, Pixel *pixels, Pixel *prmask,
Pixel *pgmask, Pixel *pbmask);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -74,18 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int AllocColorPlanes(int /*client */ ,
ColormapPtr /*pmap */ ,
int /*colors */ ,
int /*r */ ,
int /*g */ ,
int /*b */ ,
Bool /*contig */ ,
Pixel * /*pixels */ ,
Pixel * /*prmask */ ,
Pixel * /*pgmask */ ,
Pixel * /*pbmask */ );
extern _X_EXPORT int FreeColors(ColormapPtr /*pmap */ ,
int /*client */ ,
int /*count */ ,