(submit/miext-extinit) xfree86: dri2: unexport noXFree86DRI2Extension 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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 22:58:02 +02:00
parent 269b4d4ac5
commit 089d03422c
3 changed files with 3 additions and 5 deletions

View File

@ -35,8 +35,8 @@ void XFree86DRIExtensionInit(void);
#ifdef DRI2
#include <X11/extensions/dri2proto.h>
extern _X_EXPORT Bool noDRI2Extension;
extern void DRI2ExtensionInit(void);
extern Bool noDRI2Extension;
void DRI2ExtensionInit(void);
#endif
#ifdef XF86VIDMODE

View File

@ -56,6 +56,7 @@
static int DRI2EventBase;
Bool noDRI2Extension = FALSE;
static Bool
validDrawable(ClientPtr client, XID drawable, Mask access_mode,

View File

@ -127,9 +127,6 @@ Bool noXFree86DGAExtension = FALSE;
#ifdef XF86VIDMODE
Bool noXFree86VidModeExtension = FALSE;
#endif
#ifdef DRI2
Bool noDRI2Extension = FALSE;
#endif
Bool noGEExtension = FALSE;