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>
This commit is contained in:
Adam Jackson
2017-02-16 14:56:45 -05:00
parent 8c9909a992
commit dc7ceda90f
90 changed files with 637 additions and 621 deletions

View File

@@ -73,7 +73,7 @@ extern CARD8 event_base[];
*
*/
int
int _X_COLD
SProcXOpenDevice(ClientPtr client)
{
REQUEST(xOpenDeviceReq);
@@ -163,7 +163,7 @@ ProcXOpenDevice(ClientPtr client)
*
*/
void
void _X_COLD
SRepXOpenDevice(ClientPtr client, int size, xOpenDeviceReply * rep)
{
swaps(&rep->sequenceNumber);