summaryrefslogtreecommitdiff
path: root/present
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 /present
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 'present')
-rw-r--r--present/present_request.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/present/present_request.c b/present/present_request.c
index c7663fcc8..c6afe5fa7 100644
--- a/present/present_request.c
+++ b/present/present_request.c
@@ -249,7 +249,7 @@ proc_present_dispatch(ClientPtr client)
return (*proc_present_vector[stuff->data]) (client);
}
-static int
+static int _X_COLD
sproc_present_query_version(ClientPtr client)
{
REQUEST(xPresentQueryVersionReq);
@@ -261,7 +261,7 @@ sproc_present_query_version(ClientPtr client)
return (*proc_present_vector[stuff->presentReqType]) (client);
}
-static int
+static int _X_COLD
sproc_present_pixmap(ClientPtr client)
{
REQUEST(xPresentPixmapReq);
@@ -281,7 +281,7 @@ sproc_present_pixmap(ClientPtr client)
return (*proc_present_vector[stuff->presentReqType]) (client);
}
-static int
+static int _X_COLD
sproc_present_notify_msc(ClientPtr client)
{
REQUEST(xPresentNotifyMSCReq);
@@ -295,7 +295,7 @@ sproc_present_notify_msc(ClientPtr client)
return (*proc_present_vector[stuff->presentReqType]) (client);
}
-static int
+static int _X_COLD
sproc_present_select_input (ClientPtr client)
{
REQUEST(xPresentSelectInputReq);
@@ -307,7 +307,7 @@ sproc_present_select_input (ClientPtr client)
return (*proc_present_vector[stuff->presentReqType]) (client);
}
-static int
+static int _X_COLD
sproc_present_query_capabilities (ClientPtr client)
{
REQUEST(xPresentQueryCapabilitiesReq);
@@ -325,7 +325,7 @@ static int (*sproc_present_vector[PresentNumberRequests]) (ClientPtr) = {
sproc_present_query_capabilities, /* 4 */
};
-int
+int _X_COLD
sproc_present_dispatch(ClientPtr client)
{
REQUEST(xReq);