From e424f49cdb04ad343c72aed2457ed9b543fa8aea Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 22 Apr 2024 14:31:05 +0200 Subject: [PATCH] mi: unexport miWindowExposures() Not used by any modules/drivers, so no need to keep it public. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- fb/fboverlay.c | 2 ++ hw/xnest/Window.c | 4 ++-- mi/mi.h | 3 --- mi/mi_priv.h | 1 + mi/miscrinit.c | 1 - 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/fb/fboverlay.c b/fb/fboverlay.c index 5ead17315..7ea8e660b 100644 --- a/fb/fboverlay.c +++ b/fb/fboverlay.c @@ -26,6 +26,8 @@ #include +#include "mi/mi_priv.h" + #include "fb.h" #include "fboverlay.h" #include "shmint.h" diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 82090db5c..3630c7d98 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -18,6 +18,8 @@ is" without express or implied warranty. #include #include +#include "mi/mi_priv.h" + #include "gcstruct.h" #include "window.h" #include "windowstr.h" @@ -26,8 +28,6 @@ is" without express or implied warranty. #include "scrnintstr.h" #include "region.h" -#include "mi.h" - #include "Xnest.h" #include "Display.h" diff --git a/mi/mi.h b/mi/mi.h index f2c925fe8..7f256bac5 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -127,9 +127,6 @@ extern _X_EXPORT RegionPtr miHandleExposures(DrawablePtr /*pSrcDrawable */ , int /*dsty */ ); -extern _X_EXPORT void miWindowExposures(WindowPtr /*pWin */ , - RegionPtr /*prgn */); - extern _X_EXPORT void miPaintWindow(WindowPtr /*pWin */ , RegionPtr /*prgn */ , int /*what */ diff --git a/mi/mi_priv.h b/mi/mi_priv.h index 56b3e985b..74621f5a0 100644 --- a/mi/mi_priv.h +++ b/mi/mi_priv.h @@ -43,5 +43,6 @@ typedef void (*mieqHandler) (int screen, InternalEvent *event, void mieqSetHandler(int event, mieqHandler handler); void miSendExposures(WindowPtr pWin, RegionPtr pRgn, int dx, int dy); +void miWindowExposures(WindowPtr pWin, RegionPtr prgn); #endif /* _XSERVER_MI_PRIV_H */ diff --git a/mi/miscrinit.c b/mi/miscrinit.c index b80f74e63..76a3c5a96 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -34,7 +34,6 @@ from The Open Group. #include "servermd.h" #include "misc.h" -#include "mi.h" #include "scrnintstr.h" #include "pixmapstr.h" #include "dix.h"