From 7e21a514d7f88da511800297fe908e2d54991d9c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 22 Apr 2024 15:59:15 +0200 Subject: [PATCH] mi: unexport miValidateTree() 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 | 5 ----- mi/mi_priv.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/mi/mi.h b/mi/mi.h index 89870d523..882ebb41a 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -258,11 +258,6 @@ extern _X_EXPORT Bool miScreenInit(ScreenPtr pScreen, /* mivaltree.c */ -extern _X_EXPORT int miValidateTree(WindowPtr /*pParent */ , - WindowPtr /*pChild */ , - VTKind /*kind */ - ); - extern _X_EXPORT void miWideLine(DrawablePtr /*pDrawable */ , GCPtr /*pGC */ , int /*mode */ , diff --git a/mi/mi_priv.h b/mi/mi_priv.h index 865fe2b56..1c15462c9 100644 --- a/mi/mi_priv.h +++ b/mi/mi_priv.h @@ -51,5 +51,6 @@ void miSourceValidate(DrawablePtr pDrawable, int x, int y, int w, int h, Bool miCreateScreenResources(ScreenPtr pScreen); int miShapedWindowIn(RegionPtr universe, RegionPtr bounding, BoxPtr rect, int x, int y); +int miValidateTree(WindowPtr pParent, WindowPtr pChild, VTKind kind); #endif /* _XSERVER_MI_PRIV_H */