From 968cb9c7fae1d667936f48bde78f3f0e87b37345 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Jun 2024 11:52:05 +0200 Subject: [PATCH] dix: unexport FakeFreeColor() 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 | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) 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 */ ,