dix: unexport AllocColorCells()

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:09:12 +02:00 committed by Marge Bot
parent 3964510fb8
commit b7e280e163
2 changed files with 3 additions and 8 deletions

View File

@ -40,4 +40,7 @@ int QueryColors(ColormapPtr pmap, int count, Pixel *ppixIn,
/* should only be called via resource type's destructor */
int FreeClientPixels(void *pcr, XID fakeid);
int AllocColorCells(int client, ColormapPtr pmap, int colors, int planes,
Bool contig, Pixel *ppix, Pixel *masks);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -74,14 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int AllocColorCells(int /*client */ ,
ColormapPtr /*pmap */ ,
int /*colors */ ,
int /*planes */ ,
Bool /*contig */ ,
Pixel * /*ppix */ ,
Pixel * /*masks */ );
extern _X_EXPORT int AllocColorPlanes(int /*client */ ,
ColormapPtr /*pmap */ ,
int /*colors */ ,