From d14ae53e1fa6386c3d6a8f57d12374b28a92c958 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 22 Apr 2024 15:50:08 +0200 Subject: [PATCH] mi: unexport miCreateScreenResources() Not used by any drivers/modules, so no need to keep it public. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- mi/mi.h | 3 --- mi/mi_priv.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/mi/mi.h b/mi/mi.h index 83183bd26..380a380c9 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -241,9 +241,6 @@ extern _X_EXPORT Bool miModifyPixmapHeader(PixmapPtr pPixmap, void *pPixData ); -extern _X_EXPORT Bool miCreateScreenResources(ScreenPtr /*pScreen */ - ); - extern _X_EXPORT Bool miScreenInit(ScreenPtr pScreen, void *pbits, int xsize, diff --git a/mi/mi_priv.h b/mi/mi_priv.h index 0eec45c29..bb2c3d413 100644 --- a/mi/mi_priv.h +++ b/mi/mi_priv.h @@ -46,8 +46,8 @@ void miSendExposures(WindowPtr pWin, RegionPtr pRgn, int dx, int dy); void miWindowExposures(WindowPtr pWin, RegionPtr prgn); void miPaintWindow(WindowPtr pWin, RegionPtr prgn, int what); - void miSourceValidate(DrawablePtr pDrawable, int x, int y, int w, int h, unsigned int subWindowMode); +Bool miCreateScreenResources(ScreenPtr pScreen); #endif /* _XSERVER_MI_PRIV_H */