From 093286b43492b07e73f27f0764ea47bd5470ac09 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 16 Jul 2025 04:59:59 +0200 Subject: [PATCH] xcmisc: drop SProcXCMiscDispatch() It's now doing exactly the same as ProcXCMiscDispatch(), so it's not actually needed anymore. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xcmisc.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index 49f60b4665..073a3a5e53 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -156,26 +156,10 @@ ProcXCMiscDispatch(ClientPtr client) } } -static int _X_COLD -SProcXCMiscDispatch(ClientPtr client) -{ - REQUEST(xReq); - switch (stuff->data) { - case X_XCMiscGetVersion: - return ProcXCMiscGetVersion(client); - case X_XCMiscGetXIDRange: - return ProcXCMiscGetXIDRange(client); - case X_XCMiscGetXIDList: - return ProcXCMiscGetXIDList(client); - default: - return BadRequest; - } -} - void XCMiscExtensionInit(void) { AddExtension(XCMiscExtensionName, 0, 0, - ProcXCMiscDispatch, SProcXCMiscDispatch, + ProcXCMiscDispatch, ProcXCMiscDispatch, NULL, StandardMinorOpcode); }