mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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:
@@ -74,7 +74,7 @@ SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
int
|
||||
int _X_COLD
|
||||
SProcXListInputDevices(ClientPtr client)
|
||||
{
|
||||
REQUEST(xListInputDevicesReq);
|
||||
@@ -413,7 +413,7 @@ ProcXListInputDevices(ClientPtr client)
|
||||
*
|
||||
*/
|
||||
|
||||
void
|
||||
void _X_COLD
|
||||
SRepXListInputDevices(ClientPtr client, int size, xListInputDevicesReply * rep)
|
||||
{
|
||||
swaps(&rep->sequenceNumber);
|
||||
|
||||
Reference in New Issue
Block a user