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