diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 0a7fba115..c5ea51f3d 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -23,4 +23,6 @@ int TellLostMap(WindowPtr pwin, void *value); int TellGainedMap(WindowPtr pwin, void *value); +int CopyColormapAndFree(Colormap mid, ColormapPtr pSrc, int client); + #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ diff --git a/include/colormap.h b/include/colormap.h index 942586122..c24b54b12 100644 --- a/include/colormap.h +++ b/include/colormap.h @@ -74,10 +74,6 @@ typedef CARD32 Pixel; /* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */ typedef struct _colorResource *colorResourcePtr; -extern _X_EXPORT int CopyColormapAndFree(Colormap /*mid */ , - ColormapPtr /*pSrc */ , - int /*client */ ); - extern _X_EXPORT int AllocColor(ColormapPtr /*pmap */ , unsigned short * /*pred */ , unsigned short * /*pgreen */ ,