From 3874fced3171723fda32d85354fc253d4a3918d2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Jun 2024 11:29:06 +0200 Subject: [PATCH] dix: unexport CopyColormapAndFree() Not used by any driver/module, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- dix/colormap_priv.h | 2 ++ include/colormap.h | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) 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 */ ,