diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 27a19bc4f..73b58b5e4 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -47,4 +47,6 @@ int AllocColorPlanes(int client, ColormapPtr pmap, int colors, int r, int g, int b, Bool contig, Pixel *pixels, Pixel *prmask, Pixel *pgmask, Pixel *pbmask); +int FreeColors(ColormapPtr pmap, int client, int count, Pixel *pixels, Pixel mask); + #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ diff --git a/include/colormap.h b/include/colormap.h index ebe37d31e..33b40a1d7 100644 --- a/include/colormap.h +++ b/include/colormap.h @@ -74,12 +74,6 @@ typedef CARD32 Pixel; /* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */ 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 */ , int /*count */ , xColorItem * /*defs */ ,