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:
parent
a42072e663
commit
6b2e379cc7
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue