summaryrefslogtreecommitdiff
path: root/Xi/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/stubs.c')
-rw-r--r--Xi/stubs.c46
1 files changed, 14 insertions, 32 deletions
diff --git a/Xi/stubs.c b/Xi/stubs.c
index 7ad6d903e..547a4cc5d 100644
--- a/Xi/stubs.c
+++ b/Xi/stubs.c
@@ -94,10 +94,8 @@ SOFTWARE.
*/
int
-ChangeKeyboardDevice (old_dev, new_dev)
- DeviceIntPtr old_dev;
- DeviceIntPtr new_dev;
- {
+ChangeKeyboardDevice (DeviceIntPtr old_dev, DeviceIntPtr new_dev)
+{
/***********************************************************************
DeleteFocusClassDeviceStruct(old_dev); * defined in xchgptr.c *
**********************************************************************/
@@ -169,10 +167,8 @@ ChangePointerDevice (
*/
void
-CloseInputDevice (d, client)
- DeviceIntPtr d;
- ClientPtr client;
- {
+CloseInputDevice (DeviceIntPtr d, ClientPtr client)
+{
}
/***********************************************************************
@@ -202,8 +198,8 @@ CloseInputDevice (d, client)
*/
void
-AddOtherInputDevices ()
- {
+AddOtherInputDevices (void)
+{
/**********************************************************************
for each uninitialized device, do something like:
@@ -242,11 +238,8 @@ AddOtherInputDevices ()
*/
void
-OpenInputDevice (dev, client, status)
- DeviceIntPtr dev;
- ClientPtr client;
- int *status;
- {
+OpenInputDevice (DeviceIntPtr dev, ClientPtr client, int *status)
+{
}
/****************************************************************************
@@ -262,11 +255,8 @@ OpenInputDevice (dev, client, status)
*/
int
-SetDeviceMode (client, dev, mode)
- register ClientPtr client;
- DeviceIntPtr dev;
- int mode;
- {
+SetDeviceMode (register ClientPtr client, DeviceIntPtr dev, int mode)
+{
return BadMatch;
}
@@ -283,13 +273,8 @@ SetDeviceMode (client, dev, mode)
*/
int
-SetDeviceValuators (client, dev, valuators, first_valuator, num_valuators)
- register ClientPtr client;
- DeviceIntPtr dev;
- int *valuators;
- int first_valuator;
- int num_valuators;
- {
+SetDeviceValuators (register ClientPtr client, DeviceIntPtr dev, int *valuators, int first_valuator, int num_valuators)
+{
return BadMatch;
}
@@ -302,11 +287,8 @@ SetDeviceValuators (client, dev, valuators, first_valuator, num_valuators)
*/
int
-ChangeDeviceControl (client, dev, control)
- register ClientPtr client;
- DeviceIntPtr dev;
- xDeviceCtl *control;
- {
+ChangeDeviceControl (register ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)
+{
switch (control->control)
{
case DEVICE_RESOLUTION: