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 a42072e663
commit 6b2e379cc7
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -56,7 +56,6 @@
static int DRI2EventBase; static int DRI2EventBase;
static Bool static Bool
validDrawable(ClientPtr client, XID drawable, Mask access_mode, validDrawable(ClientPtr client, XID drawable, Mask access_mode,
DrawablePtr *pDrawable, int *status) DrawablePtr *pDrawable, int *status)