(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 93cac993e4
commit 2ca5415de4
2 changed files with 2 additions and 3 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,7 +56,6 @@
static int DRI2EventBase;
static Bool
validDrawable(ClientPtr client, XID drawable, Mask access_mode,
DrawablePtr *pDrawable, int *status)