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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user