From 54a40fe3f6812009a1ce4a7c4586260f3b095d8e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Jun 2024 22:35:47 +0200 Subject: [PATCH] (submit/miext-extinit) 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 4cbe431c7..3663c44e8 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -61,7 +61,7 @@ #ifdef XF86VIDMODE #include -Bool noXFree86VidModeExtension; +Bool noXFree86VidModeExtension = FALSE; #endif void