From 5d908a5e4b02df8f141c0c3faaf0348249643cab Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Jun 2024 11:23:06 +0200 Subject: [PATCH] (submit/colormap.h) dix: unexport TellGainedMap() Not used by any driver/module, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/colormap_priv.h | 2 ++ include/colormap.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 0a84c4d92..0a7fba115 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -21,4 +21,6 @@ int FreeColormap(void *pmap, XID mid); int TellLostMap(WindowPtr pwin, void *value); +int TellGainedMap(WindowPtr pwin, void *value); + #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ diff --git a/include/colormap.h b/include/colormap.h index f91218291..942586122 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 TellGainedMap(WindowPtr pwin, - void *value); - extern _X_EXPORT int CopyColormapAndFree(Colormap /*mid */ , ColormapPtr /*pSrc */ , int /*client */ );