mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +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:
@@ -53,7 +53,7 @@ from The Open Group.
|
||||
*
|
||||
*/
|
||||
|
||||
int
|
||||
int _X_COLD
|
||||
SProcXQueryDeviceState(ClientPtr client)
|
||||
{
|
||||
REQUEST(xQueryDeviceStateReq);
|
||||
@@ -179,7 +179,7 @@ ProcXQueryDeviceState(ClientPtr client)
|
||||
*
|
||||
*/
|
||||
|
||||
void
|
||||
void _X_COLD
|
||||
SRepXQueryDeviceState(ClientPtr client, int size, xQueryDeviceStateReply * rep)
|
||||
{
|
||||
swaps(&rep->sequenceNumber);
|
||||
|
||||
Reference in New Issue
Block a user