diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 9112976b3..0299521bd 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -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 */ diff --git a/include/colormap.h b/include/colormap.h index 4433c2c0e..256894eae 100644 --- a/include/colormap.h +++ b/include/colormap.h @@ -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 */ ,