From 99f02145f0ff35048a3c0d25fe0fdeffa94dd309 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 7 Aug 2024 13:51:15 +0200 Subject: [PATCH] (!1639) Xext: shape: 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 --- Xext/shape.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Xext/shape.c b/Xext/shape.c index 9e8ad41e4..e3a616148 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -1063,12 +1063,6 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to) to->shaped = from->shaped; } -static int _X_COLD -SProcShapeQueryVersion(ClientPtr client) -{ - return ProcShapeQueryVersion(client); -} - static int _X_COLD SProcShapeRectangles(ClientPtr client) { @@ -1158,7 +1152,7 @@ SProcShapeDispatch(ClientPtr client) REQUEST(xReq); switch (stuff->data) { case X_ShapeQueryVersion: - return SProcShapeQueryVersion(client); + return ProcShapeQueryVersion(client); case X_ShapeRectangles: return SProcShapeRectangles(client); case X_ShapeMask: