From 0c87f9b1da8474e562a07928f191699ef71d1716 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 7 Aug 2024 14:03:20 +0200 Subject: [PATCH] Xext: xcmisc: drop now obsolete swap procs Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/xcmisc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index 1e4765d9a..dff21efb1 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -150,12 +150,6 @@ SProcXCMiscGetVersion(ClientPtr client) return ProcXCMiscGetVersion(client); } -static int _X_COLD -SProcXCMiscGetXIDRange(ClientPtr client) -{ - return ProcXCMiscGetXIDRange(client); -} - static int _X_COLD SProcXCMiscGetXIDList(ClientPtr client) { @@ -174,7 +168,7 @@ SProcXCMiscDispatch(ClientPtr client) case X_XCMiscGetVersion: return SProcXCMiscGetVersion(client); case X_XCMiscGetXIDRange: - return SProcXCMiscGetXIDRange(client); + return ProcXCMiscGetXIDRange(client); case X_XCMiscGetXIDList: return SProcXCMiscGetXIDList(client); default: