From 0e413c9278f21ec3dde53a10867218e521f79b94 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 22 Apr 2025 12:45:21 +0200 Subject: [PATCH] panoramix: unexport XineramaVisualsEqualPtr and make it static There's no user outside of panoramiX.c, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/panoramiX.c | 2 +- Xext/panoramiXsrv.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 47c0e15c6..bf751222e 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -88,7 +88,7 @@ RESTYPE XRT_GC; RESTYPE XRT_COLORMAP; static Bool VisualsEqual(VisualPtr, ScreenPtr, VisualPtr); -XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr = &VisualsEqual; +static XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr = &VisualsEqual; /* * Function prototypes diff --git a/Xext/panoramiXsrv.h b/Xext/panoramiXsrv.h index dc1c837e0..0e53626bc 100644 --- a/Xext/panoramiXsrv.h +++ b/Xext/panoramiXsrv.h @@ -35,7 +35,6 @@ extern RESTYPE XRT_PICTURE; * screen 0. */ typedef Bool (*XineramaVisualsEqualProcPtr) (VisualPtr, ScreenPtr, VisualPtr); -extern _X_EXPORT XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr; void XineramaGetImageData(DrawablePtr *pDrawables, int left,