summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
Diffstat (limited to 'Xi')
-rw-r--r--Xi/allowev.c2
-rw-r--r--Xi/chgdctl.c4
-rw-r--r--Xi/chgfctl.c2
-rw-r--r--Xi/chgkbd.c2
-rw-r--r--Xi/chgkmap.c2
-rw-r--r--Xi/chgprop.c2
-rw-r--r--Xi/chgptr.c2
-rw-r--r--Xi/closedev.c2
-rw-r--r--Xi/devbell.c2
-rw-r--r--Xi/extinit.c8
-rw-r--r--Xi/getbmap.c4
-rw-r--r--Xi/getdctl.c4
-rw-r--r--Xi/getfctl.c4
-rw-r--r--Xi/getfocus.c4
-rw-r--r--Xi/getkmap.c4
-rw-r--r--Xi/getmmap.c4
-rw-r--r--Xi/getprop.c4
-rw-r--r--Xi/getselev.c4
-rw-r--r--Xi/getvers.c4
-rw-r--r--Xi/grabdev.c4
-rw-r--r--Xi/grabdevb.c2
-rw-r--r--Xi/grabdevk.c2
-rw-r--r--Xi/gtmotion.c4
-rw-r--r--Xi/listdev.c4
-rw-r--r--Xi/opendev.c4
-rw-r--r--Xi/queryst.c4
-rw-r--r--Xi/selectev.c2
-rw-r--r--Xi/sendexev.c2
-rw-r--r--Xi/setbmap.c4
-rw-r--r--Xi/setdval.c4
-rw-r--r--Xi/setfocus.c2
-rw-r--r--Xi/setmmap.c4
-rw-r--r--Xi/setmode.c4
-rw-r--r--Xi/ungrdev.c2
-rw-r--r--Xi/ungrdevb.c2
-rw-r--r--Xi/ungrdevk.c2
-rw-r--r--Xi/xiallowev.c2
-rw-r--r--Xi/xibarriers.c2
-rw-r--r--Xi/xichangecursor.c2
-rw-r--r--Xi/xichangehierarchy.c2
-rw-r--r--Xi/xigetclientpointer.c4
-rw-r--r--Xi/xigrabdev.c6
-rw-r--r--Xi/xipassivegrab.c6
-rw-r--r--Xi/xiproperty.c24
-rw-r--r--Xi/xiquerydevice.c2
-rw-r--r--Xi/xiquerypointer.c2
-rw-r--r--Xi/xiqueryversion.c4
-rw-r--r--Xi/xiselectev.c4
-rw-r--r--Xi/xisetclientpointer.c2
-rw-r--r--Xi/xisetdevfocus.c4
-rw-r--r--Xi/xiwarppointer.c2
51 files changed, 92 insertions, 92 deletions
diff --git a/Xi/allowev.c b/Xi/allowev.c
index 770fe9fd8..c25edb3bf 100644
--- a/Xi/allowev.c
+++ b/Xi/allowev.c
@@ -69,7 +69,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXAllowDeviceEvents(ClientPtr client)
{
REQUEST(xAllowDeviceEventsReq);
diff --git a/Xi/chgdctl.c b/Xi/chgdctl.c
index b3ee867f0..a778fa380 100644
--- a/Xi/chgdctl.c
+++ b/Xi/chgdctl.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXChangeDeviceControl(ClientPtr client)
{
xDeviceCtl *ctl;
@@ -247,7 +247,7 @@ ProcXChangeDeviceControl(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXChangeDeviceControl(ClientPtr client, int size,
xChangeDeviceControlReply * rep)
{
diff --git a/Xi/chgfctl.c b/Xi/chgfctl.c
index 224c2ba0a..1de4da9ef 100644
--- a/Xi/chgfctl.c
+++ b/Xi/chgfctl.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXChangeFeedbackControl(ClientPtr client)
{
REQUEST(xChangeFeedbackControlReq);
diff --git a/Xi/chgkbd.c b/Xi/chgkbd.c
index ea91eb371..4f5abd731 100644
--- a/Xi/chgkbd.c
+++ b/Xi/chgkbd.c
@@ -72,7 +72,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXChangeKeyboardDevice(ClientPtr client)
{
REQUEST(xChangeKeyboardDeviceReq);
diff --git a/Xi/chgkmap.c b/Xi/chgkmap.c
index 49660f944..befe6e7ae 100644
--- a/Xi/chgkmap.c
+++ b/Xi/chgkmap.c
@@ -69,7 +69,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXChangeDeviceKeyMapping(ClientPtr client)
{
unsigned int count;
diff --git a/Xi/chgprop.c b/Xi/chgprop.c
index 84fb51dcb..1d72770f1 100644
--- a/Xi/chgprop.c
+++ b/Xi/chgprop.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXChangeDeviceDontPropagateList(ClientPtr client)
{
REQUEST(xChangeDeviceDontPropagateListReq);
diff --git a/Xi/chgptr.c b/Xi/chgptr.c
index f99d1aaea..06047a62a 100644
--- a/Xi/chgptr.c
+++ b/Xi/chgptr.c
@@ -74,7 +74,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXChangePointerDevice(ClientPtr client)
{
REQUEST(xChangePointerDeviceReq);
diff --git a/Xi/closedev.c b/Xi/closedev.c
index 154e6ce08..199d38a5a 100644
--- a/Xi/closedev.c
+++ b/Xi/closedev.c
@@ -70,7 +70,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXCloseDevice(ClientPtr client)
{
REQUEST(xCloseDeviceReq);
diff --git a/Xi/devbell.c b/Xi/devbell.c
index 07865d270..2e2a348f9 100644
--- a/Xi/devbell.c
+++ b/Xi/devbell.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXDeviceBell(ClientPtr client)
{
REQUEST(xDeviceBellReq);
diff --git a/Xi/extinit.c b/Xi/extinit.c
index 7a86ee2e7..33dacbeb4 100644
--- a/Xi/extinit.c
+++ b/Xi/extinit.c
@@ -407,7 +407,7 @@ ProcIDispatch(ClientPtr client)
*
*/
-static int
+static int _X_COLD
SProcIDispatch(ClientPtr client)
{
REQUEST(xReq);
@@ -425,7 +425,7 @@ SProcIDispatch(ClientPtr client)
*
*/
-static void
+static void _X_COLD
SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep)
{
/* All we look at is the type field */
@@ -859,7 +859,7 @@ SBarrierEvent(xXIBarrierEvent * from,
}
/** Event swapping function for XI2 events. */
-void
+void _X_COLD
XI2EventSwap(xGenericEvent *from, xGenericEvent *to)
{
switch (from->evtype) {
@@ -1202,7 +1202,7 @@ MakeDeviceTypeAtoms(void)
*/
#define DO_SWAP(func,type) func ((type *)from, (type *)to)
-static void
+static void _X_COLD
SEventIDispatch(xEvent *from, xEvent *to)
{
int type = from->u.u.type & 0177;
diff --git a/Xi/getbmap.c b/Xi/getbmap.c
index 49b868889..ce3e9e60b 100644
--- a/Xi/getbmap.c
+++ b/Xi/getbmap.c
@@ -67,7 +67,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetDeviceButtonMapping(ClientPtr client)
{
REQUEST(xGetDeviceButtonMappingReq);
@@ -122,7 +122,7 @@ ProcXGetDeviceButtonMapping(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXGetDeviceButtonMapping(ClientPtr client, int size,
xGetDeviceButtonMappingReply * rep)
{
diff --git a/Xi/getdctl.c b/Xi/getdctl.c
index 6f73e0979..149f5e14e 100644
--- a/Xi/getdctl.c
+++ b/Xi/getdctl.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetDeviceControl(ClientPtr client)
{
REQUEST(xGetDeviceControlReq);
@@ -153,7 +153,7 @@ CopySwapDeviceEnable(ClientPtr client, DeviceIntPtr dev, char *buf)
*
*/
-void
+void _X_COLD
SRepXGetDeviceControl(ClientPtr client, int size, xGetDeviceControlReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/getfctl.c b/Xi/getfctl.c
index 599b2ef97..eea0113c1 100644
--- a/Xi/getfctl.c
+++ b/Xi/getfctl.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetFeedbackControl(ClientPtr client)
{
REQUEST(xGetFeedbackControlReq);
@@ -258,7 +258,7 @@ CopySwapBellFeedback(ClientPtr client, BellFeedbackPtr b, char **buf)
*
*/
-void
+void _X_COLD
SRepXGetFeedbackControl(ClientPtr client, int size,
xGetFeedbackControlReply * rep)
{
diff --git a/Xi/getfocus.c b/Xi/getfocus.c
index 40546cb84..cf8e02449 100644
--- a/Xi/getfocus.c
+++ b/Xi/getfocus.c
@@ -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);
diff --git a/Xi/getkmap.c b/Xi/getkmap.c
index 87c197759..c6db2cee2 100644
--- a/Xi/getkmap.c
+++ b/Xi/getkmap.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetDeviceKeyMapping(ClientPtr client)
{
REQUEST(xGetDeviceKeyMappingReq);
@@ -146,7 +146,7 @@ ProcXGetDeviceKeyMapping(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXGetDeviceKeyMapping(ClientPtr client, int size,
xGetDeviceKeyMappingReply * rep)
{
diff --git a/Xi/getmmap.c b/Xi/getmmap.c
index f07f2bb5c..19d8eb221 100644
--- a/Xi/getmmap.c
+++ b/Xi/getmmap.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetDeviceModifierMapping(ClientPtr client)
{
REQUEST(xGetDeviceModifierMappingReq);
@@ -125,7 +125,7 @@ ProcXGetDeviceModifierMapping(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXGetDeviceModifierMapping(ClientPtr client, int size,
xGetDeviceModifierMappingReply * rep)
{
diff --git a/Xi/getprop.c b/Xi/getprop.c
index 19f18af21..b744f35cb 100644
--- a/Xi/getprop.c
+++ b/Xi/getprop.c
@@ -72,7 +72,7 @@ extern int ExtEventIndex;
*
*/
-int
+int _X_COLD
SProcXGetDeviceDontPropagateList(ClientPtr client)
{
REQUEST(xGetDeviceDontPropagateListReq);
@@ -173,7 +173,7 @@ XEventClass
*
*/
-void
+void _X_COLD
SRepXGetDeviceDontPropagateList(ClientPtr client, int size,
xGetDeviceDontPropagateListReply * rep)
{
diff --git a/Xi/getselev.c b/Xi/getselev.c
index 60a46c2d1..0623c7ac4 100644
--- a/Xi/getselev.c
+++ b/Xi/getselev.c
@@ -70,7 +70,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetSelectedExtensionEvents(ClientPtr client)
{
REQUEST(xGetSelectedExtensionEventsReq);
@@ -164,7 +164,7 @@ ProcXGetSelectedExtensionEvents(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXGetSelectedExtensionEvents(ClientPtr client, int size,
xGetSelectedExtensionEventsReply * rep)
{
diff --git a/Xi/getvers.c b/Xi/getvers.c
index 829e69535..a56ff1684 100644
--- a/Xi/getvers.c
+++ b/Xi/getvers.c
@@ -70,7 +70,7 @@ XExtensionVersion XIVersion;
*
*/
-int
+int _X_COLD
SProcXGetExtensionVersion(ClientPtr client)
{
REQUEST(xGetExtensionVersionReq);
@@ -120,7 +120,7 @@ ProcXGetExtensionVersion(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXGetExtensionVersion(ClientPtr client, int size,
xGetExtensionVersionReply * rep)
{
diff --git a/Xi/grabdev.c b/Xi/grabdev.c
index 090043814..eb4f9bfde 100644
--- a/Xi/grabdev.c
+++ b/Xi/grabdev.c
@@ -72,7 +72,7 @@ extern int ExtEventIndex;
*
*/
-int
+int _X_COLD
SProcXGrabDevice(ClientPtr client)
{
REQUEST(xGrabDeviceReq);
@@ -205,7 +205,7 @@ CreateMaskFromList(ClientPtr client, XEventClass * list, int count,
*
*/
-void
+void _X_COLD
SRepXGrabDevice(ClientPtr client, int size, xGrabDeviceReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/grabdevb.c b/Xi/grabdevb.c
index 8b4ae698e..a2f7eb395 100644
--- a/Xi/grabdevb.c
+++ b/Xi/grabdevb.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGrabDeviceButton(ClientPtr client)
{
REQUEST(xGrabDeviceButtonReq);
diff --git a/Xi/grabdevk.c b/Xi/grabdevk.c
index 8694f9e6d..e856fa82c 100644
--- a/Xi/grabdevk.c
+++ b/Xi/grabdevk.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGrabDeviceKey(ClientPtr client)
{
REQUEST(xGrabDeviceKeyReq);
diff --git a/Xi/gtmotion.c b/Xi/gtmotion.c
index cde5351a6..7c6684996 100644
--- a/Xi/gtmotion.c
+++ b/Xi/gtmotion.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXGetDeviceMotionEvents(ClientPtr client)
{
REQUEST(xGetDeviceMotionEventsReq);
@@ -162,7 +162,7 @@ ProcXGetDeviceMotionEvents(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXGetDeviceMotionEvents(ClientPtr client, int size,
xGetDeviceMotionEventsReply * rep)
{
diff --git a/Xi/listdev.c b/Xi/listdev.c
index 6a10091d0..c15e61b37 100644
--- a/Xi/listdev.c
+++ b/Xi/listdev.c
@@ -74,7 +74,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXListInputDevices(ClientPtr client)
{
REQUEST(xListInputDevicesReq);
@@ -413,7 +413,7 @@ ProcXListInputDevices(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXListInputDevices(ClientPtr client, int size, xListInputDevicesReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/opendev.c b/Xi/opendev.c
index 6708bade1..3472c97dd 100644
--- a/Xi/opendev.c
+++ b/Xi/opendev.c
@@ -73,7 +73,7 @@ extern CARD8 event_base[];
*
*/
-int
+int _X_COLD
SProcXOpenDevice(ClientPtr client)
{
REQUEST(xOpenDeviceReq);
@@ -163,7 +163,7 @@ ProcXOpenDevice(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXOpenDevice(ClientPtr client, int size, xOpenDeviceReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/queryst.c b/Xi/queryst.c
index 04a652be3..6c9d66606 100644
--- a/Xi/queryst.c
+++ b/Xi/queryst.c
@@ -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);
diff --git a/Xi/selectev.c b/Xi/selectev.c
index 284bd29e5..b9b8112aa 100644
--- a/Xi/selectev.c
+++ b/Xi/selectev.c
@@ -119,7 +119,7 @@ HandleDevicePresenceMask(ClientPtr client, WindowPtr win,
*
*/
-int
+int _X_COLD
SProcXSelectExtensionEvent(ClientPtr client)
{
REQUEST(xSelectExtensionEventReq);
diff --git a/Xi/sendexev.c b/Xi/sendexev.c
index 183f88dae..11d82029f 100644
--- a/Xi/sendexev.c
+++ b/Xi/sendexev.c
@@ -73,7 +73,7 @@ extern int lastEvent; /* Defined in extension.c */
*
*/
-int
+int _X_COLD
SProcXSendExtensionEvent(ClientPtr client)
{
CARD32 *p;
diff --git a/Xi/setbmap.c b/Xi/setbmap.c
index 94796558d..f94db861d 100644
--- a/Xi/setbmap.c
+++ b/Xi/setbmap.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXSetDeviceButtonMapping(ClientPtr client)
{
REQUEST(xSetDeviceButtonMappingReq);
@@ -130,7 +130,7 @@ ProcXSetDeviceButtonMapping(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXSetDeviceButtonMapping(ClientPtr client, int size,
xSetDeviceButtonMappingReply * rep)
{
diff --git a/Xi/setdval.c b/Xi/setdval.c
index 463e4f38c..e57cb259d 100644
--- a/Xi/setdval.c
+++ b/Xi/setdval.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXSetDeviceValuators(ClientPtr client)
{
REQUEST(xSetDeviceValuatorsReq);
@@ -137,7 +137,7 @@ ProcXSetDeviceValuators(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXSetDeviceValuators(ClientPtr client, int size,
xSetDeviceValuatorsReply * rep)
{
diff --git a/Xi/setfocus.c b/Xi/setfocus.c
index 809184189..8ca19d520 100644
--- a/Xi/setfocus.c
+++ b/Xi/setfocus.c
@@ -71,7 +71,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXSetDeviceFocus(ClientPtr client)
{
REQUEST(xSetDeviceFocusReq);
diff --git a/Xi/setmmap.c b/Xi/setmmap.c
index 1320cfec7..d60096a5a 100644
--- a/Xi/setmmap.c
+++ b/Xi/setmmap.c
@@ -70,7 +70,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXSetDeviceModifierMapping(ClientPtr client)
{
REQUEST(xSetDeviceModifierMappingReq);
@@ -136,7 +136,7 @@ ProcXSetDeviceModifierMapping(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXSetDeviceModifierMapping(ClientPtr client, int size,
xSetDeviceModifierMappingReply * rep)
{
diff --git a/Xi/setmode.c b/Xi/setmode.c
index 5ed09136e..e7e12d4e0 100644
--- a/Xi/setmode.c
+++ b/Xi/setmode.c
@@ -68,7 +68,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXSetDeviceMode(ClientPtr client)
{
REQUEST(xSetDeviceModeReq);
@@ -138,7 +138,7 @@ ProcXSetDeviceMode(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXSetDeviceMode(ClientPtr client, int size, xSetDeviceModeReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/ungrdev.c b/Xi/ungrdev.c
index 162a00abf..fd4fc0f45 100644
--- a/Xi/ungrdev.c
+++ b/Xi/ungrdev.c
@@ -67,7 +67,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXUngrabDevice(ClientPtr client)
{
REQUEST(xUngrabDeviceReq);
diff --git a/Xi/ungrdevb.c b/Xi/ungrdevb.c
index b02510ea0..47b97d716 100644
--- a/Xi/ungrdevb.c
+++ b/Xi/ungrdevb.c
@@ -73,7 +73,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXUngrabDeviceButton(ClientPtr client)
{
REQUEST(xUngrabDeviceButtonReq);
diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c
index f98117168..753b14d70 100644
--- a/Xi/ungrdevk.c
+++ b/Xi/ungrdevk.c
@@ -75,7 +75,7 @@ SOFTWARE.
*
*/
-int
+int _X_COLD
SProcXUngrabDeviceKey(ClientPtr client)
{
REQUEST(xUngrabDeviceKeyReq);
diff --git a/Xi/xiallowev.c b/Xi/xiallowev.c
index ca263ef1f..676480157 100644
--- a/Xi/xiallowev.c
+++ b/Xi/xiallowev.c
@@ -44,7 +44,7 @@
#include "exevents.h"
#include "xiallowev.h"
-int
+int _X_COLD
SProcXIAllowEvents(ClientPtr client)
{
REQUEST(xXIAllowEventsReq);
diff --git a/Xi/xibarriers.c b/Xi/xibarriers.c
index a8b92cc18..af1562ed2 100644
--- a/Xi/xibarriers.c
+++ b/Xi/xibarriers.c
@@ -823,7 +823,7 @@ XIDestroyPointerBarrier(ClientPtr client,
return Success;
}
-int
+int _X_COLD
SProcXIBarrierReleasePointer(ClientPtr client)
{
xXIBarrierReleasePointerInfo *info;
diff --git a/Xi/xichangecursor.c b/Xi/xichangecursor.c
index 8e6255b6e..a9a1ac9fc 100644
--- a/Xi/xichangecursor.c
+++ b/Xi/xichangecursor.c
@@ -53,7 +53,7 @@
*
*/
-int
+int _X_COLD
SProcXIChangeCursor(ClientPtr client)
{
REQUEST(xXIChangeCursorReq);
diff --git a/Xi/xichangehierarchy.c b/Xi/xichangehierarchy.c
index f2b7785ad..87f191ffa 100644
--- a/Xi/xichangehierarchy.c
+++ b/Xi/xichangehierarchy.c
@@ -127,7 +127,7 @@ XISendDeviceHierarchyEvent(int flags[MAXDEVICES])
*
*/
-int
+int _X_COLD
SProcXIChangeHierarchy(ClientPtr client)
{
REQUEST(xXIChangeHierarchyReq);
diff --git a/Xi/xigetclientpointer.c b/Xi/xigetclientpointer.c
index 306dd396b..c3d494d61 100644
--- a/Xi/xigetclientpointer.c
+++ b/Xi/xigetclientpointer.c
@@ -46,7 +46,7 @@
* setting.
*/
-int
+int _X_COLD
SProcXIGetClientPointer(ClientPtr client)
{
REQUEST(xXIGetClientPointerReq);
@@ -96,7 +96,7 @@ ProcXIGetClientPointer(ClientPtr client)
*
*/
-void
+void _X_COLD
SRepXIGetClientPointer(ClientPtr client, int size,
xXIGetClientPointerReply * rep)
{
diff --git a/Xi/xigrabdev.c b/Xi/xigrabdev.c
index e2a2ae333..cf3ee7b95 100644
--- a/Xi/xigrabdev.c
+++ b/Xi/xigrabdev.c
@@ -43,7 +43,7 @@
#include "xigrabdev.h"
#include "inpututils.h"
-int
+int _X_COLD
SProcXIGrabDevice(ClientPtr client)
{
REQUEST(xXIGrabDeviceReq);
@@ -132,7 +132,7 @@ ProcXIGrabDevice(ClientPtr client)
return ret;
}
-int
+int _X_COLD
SProcXIUngrabDevice(ClientPtr client)
{
REQUEST(xXIUngrabDeviceReq);
@@ -171,7 +171,7 @@ ProcXIUngrabDevice(ClientPtr client)
return Success;
}
-void
+void _X_COLD
SRepXIGrabDevice(ClientPtr client, int size, xXIGrabDeviceReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c
index 9241ffdea..aa965e46f 100644
--- a/Xi/xipassivegrab.c
+++ b/Xi/xipassivegrab.c
@@ -46,7 +46,7 @@
#include "misc.h"
#include "inpututils.h"
-int
+int _X_COLD
SProcXIPassiveGrabDevice(ClientPtr client)
{
int i;
@@ -238,7 +238,7 @@ ProcXIPassiveGrabDevice(ClientPtr client)
return ret;
}
-void
+void _X_COLD
SRepXIPassiveGrabDevice(ClientPtr client, int size,
xXIPassiveGrabDeviceReply * rep)
{
@@ -249,7 +249,7 @@ SRepXIPassiveGrabDevice(ClientPtr client, int size,
WriteToClient(client, size, rep);
}
-int
+int _X_COLD
SProcXIPassiveUngrabDevice(ClientPtr client)
{
int i;
diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c
index b7a1f59f4..9acb2ebe3 100644
--- a/Xi/xiproperty.c
+++ b/Xi/xiproperty.c
@@ -1013,7 +1013,7 @@ ProcXGetDeviceProperty(ClientPtr client)
return Success;
}
-int
+int _X_COLD
SProcXListDeviceProperties(ClientPtr client)
{
REQUEST(xListDevicePropertiesReq);
@@ -1023,7 +1023,7 @@ SProcXListDeviceProperties(ClientPtr client)
return (ProcXListDeviceProperties(client));
}
-int
+int _X_COLD
SProcXChangeDeviceProperty(ClientPtr client)
{
REQUEST(xChangeDevicePropertyReq);
@@ -1036,7 +1036,7 @@ SProcXChangeDeviceProperty(ClientPtr client)
return (ProcXChangeDeviceProperty(client));
}
-int
+int _X_COLD
SProcXDeleteDeviceProperty(ClientPtr client)
{
REQUEST(xDeleteDevicePropertyReq);
@@ -1047,7 +1047,7 @@ SProcXDeleteDeviceProperty(ClientPtr client)
return (ProcXDeleteDeviceProperty(client));
}
-int
+int _X_COLD
SProcXGetDeviceProperty(ClientPtr client)
{
REQUEST(xGetDevicePropertyReq);
@@ -1063,7 +1063,7 @@ SProcXGetDeviceProperty(ClientPtr client)
/* Reply swapping */
-void
+void _X_COLD
SRepXListDeviceProperties(ClientPtr client, int size,
xListDevicePropertiesReply * rep)
{
@@ -1074,7 +1074,7 @@ SRepXListDeviceProperties(ClientPtr client, int size,
WriteToClient(client, size, rep);
}
-void
+void _X_COLD
SRepXGetDeviceProperty(ClientPtr client, int size,
xGetDevicePropertyReply * rep)
{
@@ -1252,7 +1252,7 @@ ProcXIGetProperty(ClientPtr client)
return Success;
}
-int
+int _X_COLD
SProcXIListProperties(ClientPtr client)
{
REQUEST(xXIListPropertiesReq);
@@ -1263,7 +1263,7 @@ SProcXIListProperties(ClientPtr client)
return (ProcXIListProperties(client));
}
-int
+int _X_COLD
SProcXIChangeProperty(ClientPtr client)
{
REQUEST(xXIChangePropertyReq);
@@ -1277,7 +1277,7 @@ SProcXIChangeProperty(ClientPtr client)
return (ProcXIChangeProperty(client));
}
-int
+int _X_COLD
SProcXIDeleteProperty(ClientPtr client)
{
REQUEST(xXIDeletePropertyReq);
@@ -1289,7 +1289,7 @@ SProcXIDeleteProperty(ClientPtr client)
return (ProcXIDeleteProperty(client));
}
-int
+int _X_COLD
SProcXIGetProperty(ClientPtr client)
{
REQUEST(xXIGetPropertyReq);
@@ -1304,7 +1304,7 @@ SProcXIGetProperty(ClientPtr client)
return (ProcXIGetProperty(client));
}
-void
+void _X_COLD
SRepXIListProperties(ClientPtr client, int size, xXIListPropertiesReply * rep)
{
swaps(&rep->sequenceNumber);
@@ -1314,7 +1314,7 @@ SRepXIListProperties(ClientPtr client, int size, xXIListPropertiesReply * rep)
WriteToClient(client, size, rep);
}
-void
+void _X_COLD
SRepXIGetProperty(ClientPtr client, int size, xXIGetPropertyReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/xiquerydevice.c b/Xi/xiquerydevice.c
index 67a9a4f3f..c0000f909 100644
--- a/Xi/xiquerydevice.c
+++ b/Xi/xiquerydevice.c
@@ -50,7 +50,7 @@ static int
ListDeviceInfo(ClientPtr client, DeviceIntPtr dev, xXIDeviceInfo * info);
static int SizeDeviceInfo(DeviceIntPtr dev);
static void SwapDeviceInfo(DeviceIntPtr dev, xXIDeviceInfo * info);
-int
+int _X_COLD
SProcXIQueryDevice(ClientPtr client)
{
REQUEST(xXIQueryDeviceReq);
diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c
index c5b0ba7b6..5b77b1a44 100644
--- a/Xi/xiquerypointer.c
+++ b/Xi/xiquerypointer.c
@@ -59,7 +59,7 @@
*
*/
-int
+int _X_COLD
SProcXIQueryPointer(ClientPtr client)
{
REQUEST(xXIQueryPointerReq);
diff --git a/Xi/xiqueryversion.c b/Xi/xiqueryversion.c
index c705f788f..111f1d61a 100644
--- a/Xi/xiqueryversion.c
+++ b/Xi/xiqueryversion.c
@@ -130,7 +130,7 @@ ProcXIQueryVersion(ClientPtr client)
/* Swapping routines */
-int
+int _X_COLD
SProcXIQueryVersion(ClientPtr client)
{
REQUEST(xXIQueryVersionReq);
@@ -141,7 +141,7 @@ SProcXIQueryVersion(ClientPtr client)
return (ProcXIQueryVersion(client));
}
-void
+void _X_COLD
SRepXIQueryVersion(ClientPtr client, int size, xXIQueryVersionReply * rep)
{
swaps(&rep->sequenceNumber);
diff --git a/Xi/xiselectev.c b/Xi/xiselectev.c
index 168579f5b..0498e0188 100644
--- a/Xi/xiselectev.c
+++ b/Xi/xiselectev.c
@@ -110,7 +110,7 @@ XICheckInvalidMaskBits(ClientPtr client, unsigned char *mask, int len)
return Success;
}
-int
+int _X_COLD
SProcXISelectEvents(ClientPtr client)
{
int i;
@@ -275,7 +275,7 @@ ProcXISelectEvents(ClientPtr client)
return Success;
}
-int
+int _X_COLD
SProcXIGetSelectedEvents(ClientPtr client)
{
REQUEST(xXIGetSelectedEventsReq);
diff --git a/Xi/xisetclientpointer.c b/Xi/xisetclientpointer.c
index 24d4a5379..e02eac4bc 100644
--- a/Xi/xisetclientpointer.c
+++ b/Xi/xisetclientpointer.c
@@ -47,7 +47,7 @@
#include "xisetclientpointer.h"
-int
+int _X_COLD
SProcXISetClientPointer(ClientPtr client)
{
REQUEST(xXISetClientPointerReq);
diff --git a/Xi/xisetdevfocus.c b/Xi/xisetdevfocus.c
index 96a9a16e4..2ed445cca 100644
--- a/Xi/xisetdevfocus.c
+++ b/Xi/xisetdevfocus.c
@@ -40,7 +40,7 @@
#include "exglobals.h" /* BadDevice */
#include "xisetdevfocus.h"
-int
+int _X_COLD
SProcXISetFocus(ClientPtr client)
{
REQUEST(xXISetFocusReq);
@@ -54,7 +54,7 @@ SProcXISetFocus(ClientPtr client)
return ProcXISetFocus(client);
}
-int
+int _X_COLD
SProcXIGetFocus(ClientPtr client)
{
REQUEST(xXIGetFocusReq);
diff --git a/Xi/xiwarppointer.c b/Xi/xiwarppointer.c
index 780758a9e..9c2aa3318 100644
--- a/Xi/xiwarppointer.c
+++ b/Xi/xiwarppointer.c
@@ -52,7 +52,7 @@
*
*/
-int
+int _X_COLD
SProcXIWarpPointer(ClientPtr client)
{
REQUEST(xXIWarpPointerReq);