diff options
author | Adam Jackson <ajax@redhat.com> | 2017-02-16 14:56:45 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-01 10:16:20 -0500 |
commit | dc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (patch) | |
tree | 3ac043c6520ea3a18987ec97792510f5906af74b /record | |
parent | 8c9909a99292b2fb4a86de694bb0029f61e35662 (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 'record')
-rw-r--r-- | record/record.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/record/record.c b/record/record.c index 82bb0607e..3e8b497e7 100644 --- a/record/record.c +++ b/record/record.c @@ -2485,7 +2485,7 @@ ProcRecordDispatch(ClientPtr client) } } /* ProcRecordDispatch */ -static int +static int _X_COLD SProcRecordQueryVersion(ClientPtr client) { REQUEST(xRecordQueryVersionReq); @@ -2497,7 +2497,7 @@ SProcRecordQueryVersion(ClientPtr client) return ProcRecordQueryVersion(client); } /* SProcRecordQueryVersion */ -static int +static int _X_COLD SwapCreateRegister(xRecordRegisterClientsReq * stuff) { int i; @@ -2521,7 +2521,7 @@ SwapCreateRegister(xRecordRegisterClientsReq * stuff) return Success; } /* SwapCreateRegister */ -static int +static int _X_COLD SProcRecordCreateContext(ClientPtr client) { REQUEST(xRecordCreateContextReq); @@ -2534,7 +2534,7 @@ SProcRecordCreateContext(ClientPtr client) return ProcRecordCreateContext(client); } /* SProcRecordCreateContext */ -static int +static int _X_COLD SProcRecordRegisterClients(ClientPtr client) { REQUEST(xRecordRegisterClientsReq); @@ -2547,7 +2547,7 @@ SProcRecordRegisterClients(ClientPtr client) return ProcRecordRegisterClients(client); } /* SProcRecordRegisterClients */ -static int +static int _X_COLD SProcRecordUnregisterClients(ClientPtr client) { REQUEST(xRecordUnregisterClientsReq); @@ -2560,7 +2560,7 @@ SProcRecordUnregisterClients(ClientPtr client) return ProcRecordUnregisterClients(client); } /* SProcRecordUnregisterClients */ -static int +static int _X_COLD SProcRecordGetContext(ClientPtr client) { REQUEST(xRecordGetContextReq); @@ -2571,7 +2571,7 @@ SProcRecordGetContext(ClientPtr client) return ProcRecordGetContext(client); } /* SProcRecordGetContext */ -static int +static int _X_COLD SProcRecordEnableContext(ClientPtr client) { REQUEST(xRecordEnableContextReq); @@ -2582,7 +2582,7 @@ SProcRecordEnableContext(ClientPtr client) return ProcRecordEnableContext(client); } /* SProcRecordEnableContext */ -static int +static int _X_COLD SProcRecordDisableContext(ClientPtr client) { REQUEST(xRecordDisableContextReq); @@ -2593,7 +2593,7 @@ SProcRecordDisableContext(ClientPtr client) return ProcRecordDisableContext(client); } /* SProcRecordDisableContext */ -static int +static int _X_COLD SProcRecordFreeContext(ClientPtr client) { REQUEST(xRecordFreeContextReq); @@ -2604,7 +2604,7 @@ SProcRecordFreeContext(ClientPtr client) return ProcRecordFreeContext(client); } /* SProcRecordFreeContext */ -static int +static int _X_COLD SProcRecordDispatch(ClientPtr client) { REQUEST(xReq); |