summaryrefslogtreecommitdiff
path: root/Xext/shape.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-02-16 14:56:45 -0500
committerAdam Jackson <ajax@redhat.com>2017-03-01 10:16:20 -0500
commitdc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (patch)
tree3ac043c6520ea3a18987ec97792510f5906af74b /Xext/shape.c
parent8c9909a99292b2fb4a86de694bb0029f61e35662 (diff)
dispatch: Mark swapped dispatch as _X_COLD
This touches everything that ends up in the Xorg binary; the big missing part is GLX since that's all generated code. Cuts about 14k from the binary on amd64. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'Xext/shape.c')
-rw-r--r--Xext/shape.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/Xext/shape.c b/Xext/shape.c
index 142f9c178..e7c7a45b0 100644
--- a/Xext/shape.c
+++ b/Xext/shape.c
@@ -1074,7 +1074,7 @@ ProcShapeDispatch(ClientPtr client)
}
}
-static void
+static void _X_COLD
SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
{
to->type = from->type;
@@ -1089,7 +1089,7 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
to->shaped = from->shaped;
}
-static int
+static int _X_COLD
SProcShapeQueryVersion(ClientPtr client)
{
REQUEST(xShapeQueryVersionReq);
@@ -1098,7 +1098,7 @@ SProcShapeQueryVersion(ClientPtr client)
return ProcShapeQueryVersion(client);
}
-static int
+static int _X_COLD
SProcShapeRectangles(ClientPtr client)
{
REQUEST(xShapeRectanglesReq);
@@ -1112,7 +1112,7 @@ SProcShapeRectangles(ClientPtr client)
return ProcShapeRectangles(client);
}
-static int
+static int _X_COLD
SProcShapeMask(ClientPtr client)
{
REQUEST(xShapeMaskReq);
@@ -1126,7 +1126,7 @@ SProcShapeMask(ClientPtr client)
return ProcShapeMask(client);
}
-static int
+static int _X_COLD
SProcShapeCombine(ClientPtr client)
{
REQUEST(xShapeCombineReq);
@@ -1140,7 +1140,7 @@ SProcShapeCombine(ClientPtr client)
return ProcShapeCombine(client);
}
-static int
+static int _X_COLD
SProcShapeOffset(ClientPtr client)
{
REQUEST(xShapeOffsetReq);
@@ -1153,7 +1153,7 @@ SProcShapeOffset(ClientPtr client)
return ProcShapeOffset(client);
}
-static int
+static int _X_COLD
SProcShapeQueryExtents(ClientPtr client)
{
REQUEST(xShapeQueryExtentsReq);
@@ -1164,7 +1164,7 @@ SProcShapeQueryExtents(ClientPtr client)
return ProcShapeQueryExtents(client);
}
-static int
+static int _X_COLD
SProcShapeSelectInput(ClientPtr client)
{
REQUEST(xShapeSelectInputReq);
@@ -1175,7 +1175,7 @@ SProcShapeSelectInput(ClientPtr client)
return ProcShapeSelectInput(client);
}
-static int
+static int _X_COLD
SProcShapeInputSelected(ClientPtr client)
{
REQUEST(xShapeInputSelectedReq);
@@ -1186,7 +1186,7 @@ SProcShapeInputSelected(ClientPtr client)
return ProcShapeInputSelected(client);
}
-static int
+static int _X_COLD
SProcShapeGetRectangles(ClientPtr client)
{
REQUEST(xShapeGetRectanglesReq);
@@ -1196,7 +1196,7 @@ SProcShapeGetRectangles(ClientPtr client)
return ProcShapeGetRectangles(client);
}
-static int
+static int _X_COLD
SProcShapeDispatch(ClientPtr client)
{
REQUEST(xReq);