mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +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:
@@ -68,7 +68,7 @@ SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
int
|
||||
int _X_COLD
|
||||
SProcXGetDeviceFocus(ClientPtr client)
|
||||
{
|
||||
REQUEST(xGetDeviceFocusReq);
|
||||
@@ -130,7 +130,7 @@ ProcXGetDeviceFocus(ClientPtr client)
|
||||
*
|
||||
*/
|
||||
|
||||
void
|
||||
void _X_COLD
|
||||
SRepXGetDeviceFocus(ClientPtr client, int size, xGetDeviceFocusReply * rep)
|
||||
{
|
||||
swaps(&rep->sequenceNumber);
|
||||
|
||||
Reference in New Issue
Block a user