diff options
Diffstat (limited to 'xserver/hw/xfree86/dri/xf86dri.c')
-rw-r--r-- | xserver/hw/xfree86/dri/xf86dri.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/xserver/hw/xfree86/dri/xf86dri.c b/xserver/hw/xfree86/dri/xf86dri.c index 65f368efd..d356db990 100644 --- a/xserver/hw/xfree86/dri/xf86dri.c +++ b/xserver/hw/xfree86/dri/xf86dri.c @@ -558,7 +558,7 @@ ProcXF86DRIDispatch(register ClientPtr client) } } -static int +static int _X_COLD SProcXF86DRIQueryVersion(register ClientPtr client) { REQUEST(xXF86DRIQueryVersionReq); @@ -566,7 +566,7 @@ SProcXF86DRIQueryVersion(register ClientPtr client) return ProcXF86DRIQueryVersion(client); } -static int +static int _X_COLD SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) { REQUEST(xXF86DRIQueryDirectRenderingCapableReq); @@ -576,7 +576,7 @@ SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) return ProcXF86DRIQueryDirectRenderingCapable(client); } -static int +static int _X_COLD SProcXF86DRIDispatch(register ClientPtr client) { REQUEST(xReq); @@ -600,14 +600,7 @@ XFree86DRIExtensionInit(void) { ExtensionEntry *extEntry; -#ifdef XF86DRI_EVENTS - EventType = CreateNewResourceType(XF86DRIFreeEvents, "DRIEvent"); -#endif - if (DRIExtensionInit() && -#ifdef XF86DRI_EVENTS - EventType && ScreenPrivateIndex != -1 && -#endif (extEntry = AddExtension(XF86DRINAME, XF86DRINumberEvents, XF86DRINumberErrors, |