Commit dc7ceda9 authored by Adam Jackson's avatar Adam Jackson 🥃

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's avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
parent 8c9909a9
......@@ -234,7 +234,7 @@ ProcDPMSDispatch(ClientPtr client)
}
}
static int
static int _X_COLD
SProcDPMSGetVersion(ClientPtr client)
{
REQUEST(xDPMSGetVersionReq);
......@@ -246,7 +246,7 @@ SProcDPMSGetVersion(ClientPtr client)
return ProcDPMSGetVersion(client);
}
static int
static int _X_COLD
SProcDPMSCapable(ClientPtr client)
{
REQUEST(xDPMSCapableReq);
......@@ -257,7 +257,7 @@ SProcDPMSCapable(ClientPtr client)
return ProcDPMSCapable(client);
}
static int
static int _X_COLD
SProcDPMSGetTimeouts(ClientPtr client)
{
REQUEST(xDPMSGetTimeoutsReq);
......@@ -268,7 +268,7 @@ SProcDPMSGetTimeouts(ClientPtr client)
return ProcDPMSGetTimeouts(client);
}
static int
static int _X_COLD
SProcDPMSSetTimeouts(ClientPtr client)
{
REQUEST(xDPMSSetTimeoutsReq);
......@@ -282,7 +282,7 @@ SProcDPMSSetTimeouts(ClientPtr client)
return ProcDPMSSetTimeouts(client);
}
static int
static int _X_COLD
SProcDPMSEnable(ClientPtr client)
{
REQUEST(xDPMSEnableReq);
......@@ -293,7 +293,7 @@ SProcDPMSEnable(ClientPtr client)
return ProcDPMSEnable(client);
}
static int
static int _X_COLD
SProcDPMSDisable(ClientPtr client)
{
REQUEST(xDPMSDisableReq);
......@@ -304,7 +304,7 @@ SProcDPMSDisable(ClientPtr client)
return ProcDPMSDisable(client);
}
static int
static int _X_COLD
SProcDPMSForceLevel(ClientPtr client)
{
REQUEST(xDPMSForceLevelReq);
......@@ -317,7 +317,7 @@ SProcDPMSForceLevel(ClientPtr client)
return ProcDPMSForceLevel(client);
}
static int
static int _X_COLD
SProcDPMSInfo(ClientPtr client)
{
REQUEST(xDPMSInfoReq);
......@@ -328,7 +328,7 @@ SProcDPMSInfo(ClientPtr client)
return ProcDPMSInfo(client);
}
static int
static int _X_COLD
SProcDPMSDispatch(ClientPtr client)
{
REQUEST(xReq);
......
......@@ -98,7 +98,7 @@ static int (*ProcGEVector[GENumberRequests]) (ClientPtr) = {
/************************************************************/
/* swapped request handlers */
/************************************************************/
static int
static int _X_COLD
SProcGEQueryVersion(ClientPtr client)
{
REQUEST(xGEQueryVersionReq);
......@@ -136,7 +136,7 @@ ProcGEDispatch(ClientPtr client)
}
/* dispatch swapped requests */
static int
static int _X_COLD
SProcGEDispatch(ClientPtr client)
{
REQUEST(xGEReq);
......@@ -159,7 +159,7 @@ GEResetProc(ExtensionEntry * extEntry)
* written on the wire, this one calls the registered swap function to do the
* work.
*/
static void
static void _X_COLD
SGEGenericEvent(xEvent *from, xEvent *to)
{
xGenericEvent *gefrom = (xGenericEvent *) from;
......
......@@ -47,7 +47,7 @@ Equipment Corporation.
#include "globals.h"
#include "panoramiXh.h"
static int
static int _X_COLD
SProcPanoramiXQueryVersion(ClientPtr client)
{
REQUEST(xPanoramiXQueryVersionReq);
......@@ -57,7 +57,7 @@ SProcPanoramiXQueryVersion(ClientPtr client)
return ProcPanoramiXQueryVersion(client);
}
static int
static int _X_COLD
SProcPanoramiXGetState(ClientPtr client)
{
REQUEST(xPanoramiXGetStateReq);
......@@ -68,7 +68,7 @@ SProcPanoramiXGetState(ClientPtr client)
return ProcPanoramiXGetState(client);
}
static int
static int _X_COLD
SProcPanoramiXGetScreenCount(ClientPtr client)
{
REQUEST(xPanoramiXGetScreenCountReq);
......@@ -79,7 +79,7 @@ SProcPanoramiXGetScreenCount(ClientPtr client)
return ProcPanoramiXGetScreenCount(client);
}
static int
static int _X_COLD
SProcPanoramiXGetScreenSize(ClientPtr client)
{
REQUEST(xPanoramiXGetScreenSizeReq);
......@@ -91,7 +91,7 @@ SProcPanoramiXGetScreenSize(ClientPtr client)
return ProcPanoramiXGetScreenSize(client);
}
static int
static int _X_COLD
SProcXineramaIsActive(ClientPtr client)
{
REQUEST(xXineramaIsActiveReq);
......@@ -101,7 +101,7 @@ SProcXineramaIsActive(ClientPtr client)
return ProcXineramaIsActive(client);
}
static int
static int _X_COLD
SProcXineramaQueryScreens(ClientPtr client)
{
REQUEST(xXineramaQueryScreensReq);
......@@ -111,7 +111,7 @@ SProcXineramaQueryScreens(ClientPtr client)
return ProcXineramaQueryScreens(client);
}
int
int _X_COLD
SProcPanoramiXDispatch(ClientPtr client)
{
REQUEST(xReq);
......
......@@ -426,7 +426,7 @@ SendScreenSaverNotify(ScreenPtr pScreen, int state, Bool forced)
}
}
static void
static void _X_COLD
SScreenSaverNotifyEvent(xScreenSaverNotifyEvent * from,
xScreenSaverNotifyEvent * to)
{
......@@ -1277,7 +1277,7 @@ ProcScreenSaverDispatch(ClientPtr client)
return BadRequest;
}
static int
static int _X_COLD
SProcScreenSaverQueryVersion(ClientPtr client)
{
REQUEST(xScreenSaverQueryVersionReq);
......@@ -1286,7 +1286,7 @@ SProcScreenSaverQueryVersion(ClientPtr client)
return ProcScreenSaverQueryVersion(client);
}
static int
static int _X_COLD
SProcScreenSaverQueryInfo(ClientPtr client)
{
REQUEST(xScreenSaverQueryInfoReq);
......@@ -1296,7 +1296,7 @@ SProcScreenSaverQueryInfo(ClientPtr client)
return ProcScreenSaverQueryInfo(client);
}
static int
static int _X_COLD
SProcScreenSaverSelectInput(ClientPtr client)
{
REQUEST(xScreenSaverSelectInputReq);
......@@ -1307,7 +1307,7 @@ SProcScreenSaverSelectInput(ClientPtr client)
return ProcScreenSaverSelectInput(client);
}
static int
static int _X_COLD
SProcScreenSaverSetAttributes(ClientPtr client)
{
REQUEST(xScreenSaverSetAttributesReq);
......@@ -1325,7 +1325,7 @@ SProcScreenSaverSetAttributes(ClientPtr client)
return ProcScreenSaverSetAttributes(client);
}
static int
static int _X_COLD
SProcScreenSaverUnsetAttributes(ClientPtr client)
{
REQUEST(xScreenSaverUnsetAttributesReq);
......@@ -1335,7 +1335,7 @@ SProcScreenSaverUnsetAttributes(ClientPtr client)
return ProcScreenSaverUnsetAttributes(client);
}
static int
static int _X_COLD
SProcScreenSaverSuspend(ClientPtr client)
{
REQUEST(xScreenSaverSuspendReq);
......@@ -1352,7 +1352,7 @@ SProcScreenSaverQueryVersion,
SProcScreenSaverSetAttributes,
SProcScreenSaverUnsetAttributes, SProcScreenSaverSuspend,};
static int
static int _X_COLD
SProcScreenSaverDispatch(ClientPtr client)
{
REQUEST(xReq);
......
......@@ -601,7 +601,7 @@ ProcSecurityDispatch(ClientPtr client)
}
} /* ProcSecurityDispatch */
static int
static int _X_COLD
SProcSecurityQueryVersion(ClientPtr client)
{
REQUEST(xSecurityQueryVersionReq);
......@@ -613,7 +613,7 @@ SProcSecurityQueryVersion(ClientPtr client)
return ProcSecurityQueryVersion(client);
} /* SProcSecurityQueryVersion */
static int
static int _X_COLD
SProcSecurityGenerateAuthorization(ClientPtr client)
{
REQUEST(xSecurityGenerateAuthorizationReq);
......@@ -637,7 +637,7 @@ SProcSecurityGenerateAuthorization(ClientPtr client)
return ProcSecurityGenerateAuthorization(client);
} /* SProcSecurityGenerateAuthorization */
static int
static int _X_COLD
SProcSecurityRevokeAuthorization(ClientPtr client)
{
REQUEST(xSecurityRevokeAuthorizationReq);
......@@ -648,7 +648,7 @@ SProcSecurityRevokeAuthorization(ClientPtr client)
return ProcSecurityRevokeAuthorization(client);
} /* SProcSecurityRevokeAuthorization */
static int
static int _X_COLD
SProcSecurityDispatch(ClientPtr client)
{
REQUEST(xReq);
......@@ -665,7 +665,7 @@ SProcSecurityDispatch(ClientPtr client)
}
} /* SProcSecurityDispatch */
static void
static void _X_COLD
SwapSecurityAuthorizationRevokedEvent(xSecurityAuthorizationRevokedEvent * from,
xSecurityAuthorizationRevokedEvent * to)
{
......
......@@ -1074,7 +1074,7 @@ ProcShapeDispatch(ClientPtr client)
}
}
static void
static void _X_COLD
SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
{
to->type = from->type;
......@@ -1089,7 +1089,7 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
to->shaped = from->shaped;
}
static int
static int _X_COLD
SProcShapeQueryVersion(ClientPtr client)
{
REQUEST(xShapeQueryVersionReq);
......@@ -1098,7 +1098,7 @@ SProcShapeQueryVersion(ClientPtr client)
return ProcShapeQueryVersion(client);
}
static int
static int _X_COLD
SProcShapeRectangles(ClientPtr client)
{
REQUEST(xShapeRectanglesReq);
......@@ -1112,7 +1112,7 @@ SProcShapeRectangles(ClientPtr client)
return ProcShapeRectangles(client);
}
static int
static int _X_COLD
SProcShapeMask(ClientPtr client)
{
REQUEST(xShapeMaskReq);
......@@ -1126,7 +1126,7 @@ SProcShapeMask(ClientPtr client)
return ProcShapeMask(client);
}
static int
static int _X_COLD
SProcShapeCombine(ClientPtr client)
{
REQUEST(xShapeCombineReq);
......@@ -1140,7 +1140,7 @@ SProcShapeCombine(ClientPtr client)
return ProcShapeCombine(client);
}
static int
static int _X_COLD
SProcShapeOffset(ClientPtr client)
{
REQUEST(xShapeOffsetReq);
......@@ -1153,7 +1153,7 @@ SProcShapeOffset(ClientPtr client)
return ProcShapeOffset(client);
}
static int
static int _X_COLD
SProcShapeQueryExtents(ClientPtr client)
{
REQUEST(xShapeQueryExtentsReq);
......@@ -1164,7 +1164,7 @@ SProcShapeQueryExtents(ClientPtr client)
return ProcShapeQueryExtents(client);
}
static int
static int _X_COLD
SProcShapeSelectInput(ClientPtr client)
{
REQUEST(xShapeSelectInputReq);
......@@ -1175,7 +1175,7 @@ SProcShapeSelectInput(ClientPtr client)
return ProcShapeSelectInput(client);
}
static int
static int _X_COLD
SProcShapeInputSelected(ClientPtr client)
{
REQUEST(xShapeInputSelectedReq);
......@@ -1186,7 +1186,7 @@ SProcShapeInputSelected(ClientPtr client)
return ProcShapeInputSelected(client);
}
static int
static int _X_COLD
SProcShapeGetRectangles(ClientPtr client)
{
REQUEST(xShapeGetRectanglesReq);
......@@ -1196,7 +1196,7 @@ SProcShapeGetRectangles(ClientPtr client)
return ProcShapeGetRectangles(client);
}
static int
static int _X_COLD
SProcShapeDispatch(ClientPtr client)
{
REQUEST(xReq);
......
......@@ -1336,7 +1336,7 @@ ProcShmDispatch(ClientPtr client)
}
}
static void
static void _X_COLD
SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
{
to->type = from->type;
......@@ -1348,7 +1348,7 @@ SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
cpswapl(from->offset, to->offset);
}
static int
static int _X_COLD
SProcShmQueryVersion(ClientPtr client)
{
REQUEST(xShmQueryVersionReq);
......@@ -1357,7 +1357,7 @@ SProcShmQueryVersion(ClientPtr client)
return ProcShmQueryVersion(client);
}
static int
static int _X_COLD
SProcShmAttach(ClientPtr client)
{
REQUEST(xShmAttachReq);
......@@ -1368,7 +1368,7 @@ SProcShmAttach(ClientPtr client)
return ProcShmAttach(client);
}
static int
static int _X_COLD
SProcShmDetach(ClientPtr client)
{
REQUEST(xShmDetachReq);
......@@ -1378,7 +1378,7 @@ SProcShmDetach(ClientPtr client)
return ProcShmDetach(client);
}
static int
static int _X_COLD
SProcShmPutImage(ClientPtr client)
{
REQUEST(xShmPutImageReq);
......@@ -1399,7 +1399,7 @@ SProcShmPutImage(ClientPtr client)
return ProcShmPutImage(client);
}
static int
static int _X_COLD
SProcShmGetImage(ClientPtr client)
{
REQUEST(xShmGetImageReq);
......@@ -1416,7 +1416,7 @@ SProcShmGetImage(ClientPtr client)
return ProcShmGetImage(client);
}
static int
static int _X_COLD
SProcShmCreatePixmap(ClientPtr client)
{
REQUEST(xShmCreatePixmapReq);
......@@ -1432,7 +1432,7 @@ SProcShmCreatePixmap(ClientPtr client)
}
#ifdef SHM_FD_PASSING
static int
static int _X_COLD
SProcShmAttachFd(ClientPtr client)
{
REQUEST(xShmAttachFdReq);
......@@ -1443,7 +1443,7 @@ SProcShmAttachFd(ClientPtr client)
return ProcShmAttachFd(client);
}
static int
static int _X_COLD
SProcShmCreateSegment(ClientPtr client)
{
REQUEST(xShmCreateSegmentReq);
......@@ -1455,7 +1455,7 @@ SProcShmCreateSegment(ClientPtr client)
}
#endif /* SHM_FD_PASSING */
static int
static int _X_COLD
SProcShmDispatch(ClientPtr client)
{
REQUEST(xReq);
......
......@@ -2151,7 +2151,7 @@ ProcSyncDispatch(ClientPtr client)
* Boring Swapping stuff ...
*/
static int
static int _X_COLD
SProcSyncInitialize(ClientPtr client)
{
REQUEST(xSyncInitializeReq);
......@@ -2161,7 +2161,7 @@ SProcSyncInitialize(ClientPtr client)
return ProcSyncInitialize(client);
}
static int
static int _X_COLD
SProcSyncListSystemCounters(ClientPtr client)
{
REQUEST(xSyncListSystemCountersReq);
......@@ -2171,7 +2171,7 @@ SProcSyncListSystemCounters(ClientPtr client)
return ProcSyncListSystemCounters(client);
}
static int
static int _X_COLD
SProcSyncCreateCounter(ClientPtr client)
{
REQUEST(xSyncCreateCounterReq);
......@@ -2184,7 +2184,7 @@ SProcSyncCreateCounter(ClientPtr client)
return ProcSyncCreateCounter(client);
}
static int
static int _X_COLD
SProcSyncSetCounter(ClientPtr client)
{
REQUEST(xSyncSetCounterReq);
......@@ -2197,7 +2197,7 @@ SProcSyncSetCounter(ClientPtr client)
return ProcSyncSetCounter(client);
}
static int
static int _X_COLD
SProcSyncChangeCounter(ClientPtr client)
{
REQUEST(xSyncChangeCounterReq);
......@@ -2210,7 +2210,7 @@ SProcSyncChangeCounter(ClientPtr client)
return ProcSyncChangeCounter(client);
}
static int
static int _X_COLD
SProcSyncQueryCounter(ClientPtr client)
{
REQUEST(xSyncQueryCounterReq);
......@@ -2221,7 +2221,7 @@ SProcSyncQueryCounter(ClientPtr client)
return ProcSyncQueryCounter(client);
}
static int
static int _X_COLD
SProcSyncDestroyCounter(ClientPtr client)
{
REQUEST(xSyncDestroyCounterReq);
......@@ -2232,7 +2232,7 @@ SProcSyncDestroyCounter(ClientPtr client)
return ProcSyncDestroyCounter(client);
}
static int
static int _X_COLD
SProcSyncAwait(ClientPtr client)
{
REQUEST(xSyncAwaitReq);
......@@ -2243,7 +2243,7 @@ SProcSyncAwait(ClientPtr client)
return ProcSyncAwait(client);
}
static int
static int _X_COLD
SProcSyncCreateAlarm(ClientPtr client)
{
REQUEST(xSyncCreateAlarmReq);
......@@ -2256,7 +2256,7 @@ SProcSyncCreateAlarm(ClientPtr client)
return ProcSyncCreateAlarm(client);
}
static int
static int _X_COLD
SProcSyncChangeAlarm(ClientPtr client)
{
REQUEST(xSyncChangeAlarmReq);
......@@ -2268,7 +2268,7 @@ SProcSyncChangeAlarm(ClientPtr client)
return ProcSyncChangeAlarm(client);
}
static int
static int _X_COLD
SProcSyncQueryAlarm(ClientPtr client)
{
REQUEST(xSyncQueryAlarmReq);
......@@ -2279,7 +2279,7 @@ SProcSyncQueryAlarm(ClientPtr client)
return ProcSyncQueryAlarm(client);
}
static int
static int _X_COLD
SProcSyncDestroyAlarm(ClientPtr client)
{
REQUEST(xSyncDestroyAlarmReq);
......@@ -2290,7 +2290,7 @@ SProcSyncDestroyAlarm(ClientPtr client)
return ProcSyncDestroyAlarm(client);
}
static int
static int _X_COLD
SProcSyncSetPriority(ClientPtr client)
{
REQUEST(xSyncSetPriorityReq);
......@@ -2302,7 +2302,7 @@ SProcSyncSetPriority(ClientPtr client)
return ProcSyncSetPriority(client);
}
static int
static int _X_COLD
SProcSyncGetPriority(ClientPtr client)
{
REQUEST(xSyncGetPriorityReq);
......@@ -2313,7 +2313,7 @@ SProcSyncGetPriority(ClientPtr client)
return ProcSyncGetPriority(client);
}
static int
static int _X_COLD
SProcSyncCreateFence(ClientPtr client)
{
REQUEST(xSyncCreateFenceReq);
......@@ -2324,7 +2324,7 @@ SProcSyncCreateFence(ClientPtr client)
return ProcSyncCreateFence(client);
}
static int
static int _X_COLD
SProcSyncTriggerFence(ClientPtr client)
{
REQUEST(xSyncTriggerFenceReq);
......@@ -2335,7 +2335,7 @@ SProcSyncTriggerFence(ClientPtr client)
return ProcSyncTriggerFence(client);
}
static int
static int _X_COLD
SProcSyncResetFence(ClientPtr client)
{
REQUEST(xSyncResetFenceReq);
......@@ -2346,7 +2346,7 @@ SProcSyncResetFence(ClientPtr client)
return ProcSyncResetFence(client);
}
static int
static int _X_COLD
SProcSyncDestroyFence(ClientPtr client)
{
REQUEST(xSyncDestroyFenceReq);
......@@ -2357,7 +2357,7 @@ SProcSyncDestroyFence(ClientPtr client)
return ProcSyncDestroyFence(client);
}
static int
static int _X_COLD
SProcSyncQueryFence(ClientPtr client)
{
REQUEST(xSyncQueryFenceReq);
......@@ -2368,7 +2368,7 @@ SProcSyncQueryFence(ClientPtr client)
return ProcSyncQueryFence(client);
}
static int
static int _X_COLD
SProcSyncAwaitFence(ClientPtr client)
{
REQUEST(xSyncAwaitFenceReq);
......@@ -2379,7 +2379,7 @@ SProcSyncAwaitFence(ClientPtr client)
return ProcSyncAwaitFence(client);
}
static int
static int _X_COLD
SProcSyncDispatch(ClientPtr client)
{
REQUEST(xReq);
......@@ -2434,7 +2434,7 @@ SProcSyncDispatch(ClientPtr client)
* Event Swapping
*/
static void
static void _X_COLD
SCounterNotifyEvent(xSyncCounterNotifyEvent * from,
xSyncCounterNotifyEvent * to)
{
......@@ -2451,7 +2451,7 @@ SCounterNotifyEvent(xSyncCounterNotifyEvent * from,
to->destroyed = from->destroyed;
}
static void
static void _X_COLD
SAlarmNotifyEvent(xSyncAlarmNotifyEvent * from, xSyncAlarmNotifyEvent * to)
{
to->type = from->type;
......
......@@ -1692,7 +1692,7 @@ ProcVidModeDispatch(ClientPtr client)
}
}
static int
static int _X_COLD
SProcVidModeQueryVersion(ClientPtr client)
{
REQUEST(xXF86VidModeQueryVersionReq);
......@@ -1700,7 +1700,7 @@ SProcVidModeQueryVersion(ClientPtr client)
return ProcVidModeQueryVersion(client);
}
static int
static int _X_COLD
SProcVidModeGetModeLine(ClientPtr client)
{
REQUEST(xXF86VidModeGetModeLineReq);
......@@ -1710,7 +1710,7 @@ SProcVidModeGetModeLine(ClientPtr client)
return ProcVidModeGetModeLine(client);
}
static int
static int _X_COLD
SProcVidModeGetAllModeLines(ClientPtr client)
{
REQUEST(xXF86VidModeGetAllModeLinesReq);
......@@ -1720,7 +1720,7 @@ SProcVidModeGetAllModeLines(ClientPtr client)
return ProcVidModeGetAllModeLines(client);
}
static int
static int _X_COLD
SProcVidModeAddModeLine(ClientPtr client)
{
xXF86OldVidModeAddModeLineReq *oldstuff =
......@@ -1765,7 +1765,7 @@ SProcVidModeAddModeLine(ClientPtr client)
return ProcVidModeAddModeLine(client);
}
static int
static int _X_COLD
SProcVidModeDeleteModeLine(ClientPtr client)
{
xXF86OldVidModeDeleteModeLineReq *oldstuff =
......@@ -1810,7 +1810,7 @@ SProcVidModeDeleteModeLine(ClientPtr client)
return ProcVidModeDeleteModeLine(client);
}
static int
static int _X_COLD
SProcVidModeModModeLine(ClientPtr client)
{
xXF86OldVidModeModModeLineReq *oldstuff =
......@@ -1855,7 +1855,7 @@ SProcVidModeModModeLine(ClientPtr client)
return ProcVidModeModModeLine(client);
}
static int
static int _X_COLD
SProcVidModeValidateModeLine(ClientPtr client)
{
xXF86OldVidModeValidateModeLineReq *oldstuff =
......@@ -1900,7 +1900,7 @@ SProcVidModeValidateModeLine(ClientPtr client)
return ProcVidModeValidateModeLine(client);
}
static int
static int _X_COLD
SProcVidModeSwitchMode(ClientPtr client)
{
REQUEST(xXF86VidModeSwitchModeReq);
......@@ -1911,7 +1911,7 @@ SProcVidModeSwitchMode(ClientPtr client)
return ProcVidModeSwitchMode(client);
}
static int
static int _X_COLD
SProcVidModeSwitchToMode(ClientPtr client)
{
REQUEST(xXF86VidModeSwitchToModeReq);
......@@ -1921,7 +1921,7 @@ SProcVidModeSwitchToMode(ClientPtr client)
return ProcVidModeSwitchToMode(client);
}
static int
static int _X_COLD
SProcVidModeLockModeSwitch(ClientPtr client)
{
REQUEST(xXF86VidModeLockModeSwitchReq);
......@@ -1932,7 +1932,7 @@ SProcVidModeLockModeSwitch(ClientPtr client)
return ProcVidModeLockModeSwitch(client);
}
static int
static int _X_COLD
SProcVidModeGetMonitor(ClientPtr client)
{
REQUEST(xXF86VidModeGetMonitorReq);
......@@ -1942,7 +1942,7 @@ SProcVidModeGetMonitor(ClientPtr client)
return ProcVidModeGetMonitor(client);
}
static int
static int _X_COLD