From ff22e7dfa977fee66ba4cf94b7328a1f30817048 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: (cherry picked from commit 0c87f9b1da8474e562a07928f191699ef71d1716) --- Xext/xcmisc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index e430e03ea..62e7f4d39 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -152,12 +152,6 @@ SProcXCMiscGetVersion(ClientPtr client) return ProcXCMiscGetVersion(client); } -static int _X_COLD -SProcXCMiscGetXIDRange(ClientPtr client) -{ - return ProcXCMiscGetXIDRange(client); -} - static int _X_COLD SProcXCMiscGetXIDList(ClientPtr client) { @@ -176,7 +170,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: