summaryrefslogtreecommitdiff
path: root/Xext/xcmisc.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/xcmisc.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/xcmisc.c')
-rw-r--r--Xext/xcmisc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c
index ed25650cd..c3c0b7f43 100644
--- a/Xext/xcmisc.c
+++ b/Xext/xcmisc.c
@@ -142,7 +142,7 @@ ProcXCMiscDispatch(ClientPtr client)
}
}
-static int
+static int _X_COLD
SProcXCMiscGetVersion(ClientPtr client)
{
REQUEST(xXCMiscGetVersionReq);
@@ -154,7 +154,7 @@ SProcXCMiscGetVersion(ClientPtr client)
return ProcXCMiscGetVersion(client);
}
-static int
+static int _X_COLD
SProcXCMiscGetXIDRange(ClientPtr client)
{
REQUEST(xReq);
@@ -163,7 +163,7 @@ SProcXCMiscGetXIDRange(ClientPtr client)
return ProcXCMiscGetXIDRange(client);
}
-static int
+static int _X_COLD
SProcXCMiscGetXIDList(ClientPtr client)
{
REQUEST(xXCMiscGetXIDListReq);
@@ -174,7 +174,7 @@ SProcXCMiscGetXIDList(ClientPtr client)
return ProcXCMiscGetXIDList(client);
}
-static int
+static int _X_COLD
SProcXCMiscDispatch(ClientPtr client)
{
REQUEST(xReq);