diff --git a/hw/xfree86/common/xf86Extensions.h b/hw/xfree86/common/xf86Extensions.h index 7bebb1e12..735a9e6ea 100644 --- a/hw/xfree86/common/xf86Extensions.h +++ b/hw/xfree86/common/xf86Extensions.h @@ -35,8 +35,8 @@ void XFree86DRIExtensionInit(void); #ifdef DRI2 #include -extern _X_EXPORT Bool noDRI2Extension; -extern void DRI2ExtensionInit(void); +extern Bool noDRI2Extension; +void DRI2ExtensionInit(void); #endif #ifdef XF86VIDMODE diff --git a/hw/xfree86/dri2/dri2ext.c b/hw/xfree86/dri2/dri2ext.c index a683bb818..e035446a5 100644 --- a/hw/xfree86/dri2/dri2ext.c +++ b/hw/xfree86/dri2/dri2ext.c @@ -56,7 +56,6 @@ static int DRI2EventBase; - static Bool validDrawable(ClientPtr client, XID drawable, Mask access_mode, DrawablePtr *pDrawable, int *status)