diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 139ad484d..ba7bbd6e9 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -559,12 +559,6 @@ ProcXF86DRIDispatch(register ClientPtr client) } } -static int _X_COLD -SProcXF86DRIQueryVersion(register ClientPtr client) -{ - return ProcXF86DRIQueryVersion(client); -} - static int _X_COLD SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) { @@ -585,7 +579,7 @@ SProcXF86DRIDispatch(register ClientPtr client) */ switch (stuff->data) { case X_XF86DRIQueryVersion: - return SProcXF86DRIQueryVersion(client); + return ProcXF86DRIQueryVersion(client); case X_XF86DRIQueryDirectRenderingCapable: return SProcXF86DRIQueryDirectRenderingCapable(client); default: