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:
@@ -211,7 +211,7 @@ SRRProviderPropertyNotifyEvent(xRRProviderPropertyNotifyEvent * from,
|
||||
/* pad4 */
|
||||
}
|
||||
|
||||
static void
|
||||
static void _X_COLD
|
||||
SRRResourceChangeNotifyEvent(xRRResourceChangeNotifyEvent * from,
|
||||
xRRResourceChangeNotifyEvent * to)
|
||||
{
|
||||
@@ -222,7 +222,7 @@ SRRResourceChangeNotifyEvent(xRRResourceChangeNotifyEvent * from,
|
||||
cpswapl(from->window, to->window);
|
||||
}
|
||||
|
||||
static void
|
||||
static void _X_COLD
|
||||
SRRNotifyEvent(xEvent *from, xEvent *to)
|
||||
{
|
||||
switch (from->u.u.detail) {
|
||||
@@ -682,7 +682,7 @@ ProcRRDispatch(ClientPtr client)
|
||||
return (*ProcRandrVector[stuff->data]) (client);
|
||||
}
|
||||
|
||||
static int
|
||||
static int _X_COLD
|
||||
SProcRRDispatch(ClientPtr client)
|
||||
{
|
||||
REQUEST(xReq);
|
||||
|
||||
Reference in New Issue
Block a user