From fb697dd644bada860be581e793a4fd9fc73f7e42 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 13 May 2024 17:43:01 +0200 Subject: [PATCH] dix: unexport dixLookupProperty() It's not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/xselinux_ext.c | 1 + dix/property_priv.h | 6 ++++++ hw/xquartz/applewm.c | 2 ++ hw/xwayland/xwayland-window.c | 1 + include/property.h | 6 ------ 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Xext/xselinux_ext.c b/Xext/xselinux_ext.c index 5bfb9a84b..534d50b71 100644 --- a/Xext/xselinux_ext.c +++ b/Xext/xselinux_ext.c @@ -22,6 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #endif #include "dix/dix_priv.h" +#include "dix/property_priv.h" #include "selection.h" #include "inputstr.h" diff --git a/dix/property_priv.h b/dix/property_priv.h index bd8d8c992..2c3eb8021 100644 --- a/dix/property_priv.h +++ b/dix/property_priv.h @@ -51,6 +51,9 @@ SOFTWARE. #ifndef _XSERVER_PROPERTY_PRIV_H #define _XSERVER_PROPERTY_PRIV_H +#include + +#include "dix.h" #include "window.h" #include "property.h" @@ -62,4 +65,7 @@ typedef struct _PropertyStateRec { extern CallbackListPtr PropertyStateCallback; +int dixLookupProperty(PropertyPtr *result, WindowPtr pWin, Atom proprty, + ClientPtr pClient, Mask access_mode); + #endif /* _XSERVER_PROPERTY_PRIV_H */ diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index e0c7c505d..4edab98e0 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -36,6 +36,8 @@ #include +#include "dix/property_priv.h" + #include "quartz.h" #include "misc.h" diff --git a/hw/xwayland/xwayland-window.c b/hw/xwayland/xwayland-window.c index 4e56ed41e..e5d45a919 100644 --- a/hw/xwayland/xwayland-window.c +++ b/hw/xwayland/xwayland-window.c @@ -35,6 +35,7 @@ #include #include "dix/dix_priv.h" +#include "dix/property_priv.h" #include "compositeext.h" #include "compint.h" diff --git a/include/property.h b/include/property.h index e6710820e..178c88dc9 100644 --- a/include/property.h +++ b/include/property.h @@ -51,12 +51,6 @@ SOFTWARE. typedef struct _Property *PropertyPtr; -extern _X_EXPORT int dixLookupProperty(PropertyPtr * /*result */ , - WindowPtr /*pWin */ , - Atom /*proprty */ , - ClientPtr /*pClient */ , - Mask /*access_mode */ ); - extern _X_EXPORT int dixChangeWindowProperty(ClientPtr pClient, WindowPtr pWin, Atom property,