From 26328f81a944ce9ff0645a4be4be66edcdb85610 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Jun 2024 22:35:47 +0200 Subject: [PATCH] xfree86: vidmode: unexport noXFree86VidModeExtension and move into extension This isn't needed by any external module, so no need to export it. And those flags are better off in the corresponding extension, instead of the OS layer. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Extensions.h | 2 +- hw/xwayland/xwayland.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86Extensions.h b/hw/xfree86/common/xf86Extensions.h index 6e9f8832d..6b5024c01 100644 --- a/hw/xfree86/common/xf86Extensions.h +++ b/hw/xfree86/common/xf86Extensions.h @@ -41,7 +41,7 @@ void DRI2ExtensionInit(void); #ifdef XF86VIDMODE #include -extern _X_EXPORT Bool noXFree86VidModeExtension; +extern Bool noXFree86VidModeExtension; extern void XFree86VidModeExtensionInit(void); #endif diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index f9f1c255e..9468fe6ce 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -63,7 +63,7 @@ #ifdef XF86VIDMODE #include -Bool noXFree86VidModeExtension; +Bool noXFree86VidModeExtension = FALSE; #endif void