aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/stubs.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-02-15 15:14:14 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-26 00:58:46 +0100
commit7aca428ffe10b2cffca8fe01962aef421a5a5645 (patch)
tree959c5d4ada874c816f49888825edeeba3f005b24 /nx-X11/programs/Xserver/Xi/stubs.c
parent41a0ba729fb67efdc5f7bd50f73f145cf5d8a153 (diff)
downloadnx-libs-7aca428ffe10b2cffca8fe01962aef421a5a5645.tar.gz
nx-libs-7aca428ffe10b2cffca8fe01962aef421a5a5645.tar.bz2
nx-libs-7aca428ffe10b2cffca8fe01962aef421a5a5645.zip
Xi: ansify function prototypes
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/stubs.c')
-rw-r--r--nx-X11/programs/Xserver/Xi/stubs.c44
1 files changed, 12 insertions, 32 deletions
diff --git a/nx-X11/programs/Xserver/Xi/stubs.c b/nx-X11/programs/Xserver/Xi/stubs.c
index 8a9ec924e..a45ffa51b 100644
--- a/nx-X11/programs/Xserver/Xi/stubs.c
+++ b/nx-X11/programs/Xserver/Xi/stubs.c
@@ -91,9 +91,7 @@ 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 *
@@ -133,11 +131,8 @@ ChangeKeyboardDevice (old_dev, new_dev)
*/
int
-ChangePointerDevice (
- DeviceIntPtr old_dev,
- DeviceIntPtr new_dev,
- unsigned char x,
- unsigned char y)
+ChangePointerDevice(DeviceIntPtr old_dev,
+ DeviceIntPtr new_dev, unsigned char x, unsigned char y)
{
/***********************************************************************
InitFocusClassDeviceStruct(old_dev); * allow focusing old ptr*
@@ -166,9 +161,7 @@ ChangePointerDevice (
*/
void
-CloseInputDevice (d, client)
- DeviceIntPtr d;
- ClientPtr client;
+CloseInputDevice(DeviceIntPtr d, ClientPtr client)
{
}
@@ -199,7 +192,7 @@ CloseInputDevice (d, client)
*/
void
-AddOtherInputDevices ()
+AddOtherInputDevices()
{
/**********************************************************************
for each uninitialized device, do something like:
@@ -239,10 +232,7 @@ AddOtherInputDevices ()
*/
void
-OpenInputDevice (dev, client, status)
- DeviceIntPtr dev;
- ClientPtr client;
- int *status;
+OpenInputDevice(DeviceIntPtr dev, ClientPtr client, int *status)
{
}
@@ -259,10 +249,7 @@ 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;
}
@@ -280,12 +267,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;
}
@@ -299,13 +282,10 @@ SetDeviceValuators (client, dev, valuators, first_valuator, num_valuators)
*/
int
-ChangeDeviceControl (client, dev, control)
- register ClientPtr client;
- DeviceIntPtr dev;
- xDeviceCtl *control;
- {
- switch (control->control)
+ChangeDeviceControl(register ClientPtr client, DeviceIntPtr dev,
+ xDeviceCtl * control)
{
+ switch (control->control) {
case DEVICE_RESOLUTION:
return (BadMatch);
default: