diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 425ef6d5b..d58651a10 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -558,12 +558,6 @@ ProcXF86DRIDispatch(register ClientPtr client) } } -static int _X_COLD -SProcXF86DRIQueryVersion(register ClientPtr client) -{ - return ProcXF86DRIQueryVersion(client); -} - static int _X_COLD SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) { @@ -584,7 +578,7 @@ SProcXF86DRIDispatch(register ClientPtr client) */ switch (stuff->data) { case X_XF86DRIQueryVersion: - return SProcXF86DRIQueryVersion(client); + return ProcXF86DRIQueryVersion(client); case X_XF86DRIQueryDirectRenderingCapable: return SProcXF86DRIQueryDirectRenderingCapable(client); default: