diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 6af6d17d2..9112976b3 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -37,4 +37,7 @@ void FakeFreeColor(ColormapPtr pmap, Pixel pixel); int QueryColors(ColormapPtr pmap, int count, Pixel *ppixIn, xrgb *prgbList, ClientPtr client); +/* should only be called via resource type's destructor */ +int FreeClientPixels(void *pcr, XID fakeid); + #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ diff --git a/include/colormap.h b/include/colormap.h index 9368b356d..4433c2c0e 100644 --- a/include/colormap.h +++ b/include/colormap.h @@ -74,9 +74,6 @@ typedef CARD32 Pixel; /* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */ typedef struct _colorResource *colorResourcePtr; -extern _X_EXPORT int FreeClientPixels(void *pcr, - XID fakeid); - extern _X_EXPORT int AllocColorCells(int /*client */ , ColormapPtr /*pmap */ , int /*colors */ ,