diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index c348b0408..08771759b 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -31,4 +31,6 @@ int AllocColor(ColormapPtr pmap, unsigned short *pred, unsigned short *pgreen, void FakeAllocColor(ColormapPtr pmap, xColorItem *item); +void FakeFreeColor(ColormapPtr pmap, Pixel pixel); + #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ diff --git a/include/colormap.h b/include/colormap.h index 14cec9b91..4c21475ca 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 void FakeFreeColor(ColormapPtr /*pmap */ , - Pixel /*pixel */ ); - extern _X_EXPORT int QueryColors(ColormapPtr /*pmap */ , int /*count */ , Pixel * /*ppixIn */ ,