aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/getdctl.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/getdctl.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/getdctl.c')
-rw-r--r--nx-X11/programs/Xserver/Xi/getdctl.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/nx-X11/programs/Xserver/Xi/getdctl.c b/nx-X11/programs/Xserver/Xi/getdctl.c
index 268366c89..f23fc212e 100644
--- a/nx-X11/programs/Xserver/Xi/getdctl.c
+++ b/nx-X11/programs/Xserver/Xi/getdctl.c
@@ -74,8 +74,7 @@ SOFTWARE.
*/
int
-SProcXGetDeviceControl(client)
- register ClientPtr client;
+SProcXGetDeviceControl(register ClientPtr client)
{
REQUEST(xGetDeviceControlReq);
swaps(&stuff->length);
@@ -91,8 +90,7 @@ SProcXGetDeviceControl(client)
*/
int
-ProcXGetDeviceControl(client)
- ClientPtr client;
+ProcXGetDeviceControl(ClientPtr client)
{
int total_length = 0;
char *buf, *savbuf;
@@ -166,11 +164,8 @@ ProcXGetDeviceControl(client)
*/
void
-CopySwapDeviceResolution (client, v, buf, length)
- ClientPtr client;
- ValuatorClassPtr v;
- char *buf;
- int length;
+CopySwapDeviceResolution(ClientPtr client, ValuatorClassPtr v, char *buf,
+ int length)
{
AxisInfoPtr a;
xDeviceResolutionState *r;
@@ -209,13 +204,9 @@ CopySwapDeviceResolution (client, v, buf, length)
*/
void
-SRepXGetDeviceControl (client, size, rep)
- ClientPtr client;
- int size;
- xGetDeviceControlReply *rep;
+SRepXGetDeviceControl(ClientPtr client, int size, xGetDeviceControlReply * rep)
{
swaps(&rep->sequenceNumber);
swapl(&rep->length);
WriteToClient(client, size, rep);
}
-