diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-02-15 15:14:14 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-02-26 00:58:46 +0100 |
commit | 7aca428ffe10b2cffca8fe01962aef421a5a5645 (patch) | |
tree | 959c5d4ada874c816f49888825edeeba3f005b24 /nx-X11/programs/Xserver/Xi/gtmotion.c | |
parent | 41a0ba729fb67efdc5f7bd50f73f145cf5d8a153 (diff) | |
download | nx-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/gtmotion.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xi/gtmotion.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/Xi/gtmotion.c b/nx-X11/programs/Xserver/Xi/gtmotion.c index e9447e213..870d87fb9 100644 --- a/nx-X11/programs/Xserver/Xi/gtmotion.c +++ b/nx-X11/programs/Xserver/Xi/gtmotion.c @@ -74,8 +74,7 @@ SOFTWARE. */ int -SProcXGetDeviceMotionEvents(client) -register ClientPtr client; +SProcXGetDeviceMotionEvents(register ClientPtr client) { REQUEST(xGetDeviceMotionEventsReq); swaps(&stuff->length); @@ -92,8 +91,7 @@ register ClientPtr client; */ int -ProcXGetDeviceMotionEvents(client) - ClientPtr client; +ProcXGetDeviceMotionEvents(ClientPtr client) { INT32 *coords = NULL, *bufptr; xGetDeviceMotionEventsReply rep; @@ -191,10 +189,8 @@ ProcXGetDeviceMotionEvents(client) */ void -SRepXGetDeviceMotionEvents (client, size, rep) - ClientPtr client; - int size; - xGetDeviceMotionEventsReply *rep; +SRepXGetDeviceMotionEvents(ClientPtr client, int size, + xGetDeviceMotionEventsReply * rep) { swaps(&rep->sequenceNumber); swapl(&rep->length); |