From 8060c995f521ae42ee7dac60da7fbb2bd0ca659a 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 9e6bcd5cb..298d8d640 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -87,7 +87,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 ce7b7cb98..d87f2d7bb 100644 --- a/Xext/panoramiXsrv.h +++ b/Xext/panoramiXsrv.h @@ -33,7 +33,6 @@ extern RESTYPE XRT_PICTURE; * screen 0. */ typedef Bool (*XineramaVisualsEqualProcPtr) (VisualPtr, ScreenPtr, VisualPtr); -extern _X_EXPORT XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr; void XineramaGetImageData(DrawablePtr *pDrawables, int left,