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/getkmap.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/getkmap.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xi/getkmap.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/Xi/getkmap.c b/nx-X11/programs/Xserver/Xi/getkmap.c index c410df355..2ce98923c 100644 --- a/nx-X11/programs/Xserver/Xi/getkmap.c +++ b/nx-X11/programs/Xserver/Xi/getkmap.c @@ -75,8 +75,7 @@ SOFTWARE. */ int -SProcXGetDeviceKeyMapping(client) - register ClientPtr client; +SProcXGetDeviceKeyMapping(register ClientPtr client) { REQUEST(xGetDeviceKeyMappingReq); swaps(&stuff->length); @@ -90,8 +89,7 @@ SProcXGetDeviceKeyMapping(client) */ int -ProcXGetDeviceKeyMapping(client) - register ClientPtr client; +ProcXGetDeviceKeyMapping(register ClientPtr client) { xGetDeviceKeyMappingReply rep; DeviceIntPtr dev; @@ -158,13 +156,10 @@ ProcXGetDeviceKeyMapping(client) */ void -SRepXGetDeviceKeyMapping (client, size, rep) - ClientPtr client; - int size; - xGetDeviceKeyMappingReply *rep; +SRepXGetDeviceKeyMapping(ClientPtr client, int size, + xGetDeviceKeyMappingReply * rep) { swaps(&rep->sequenceNumber); swapl(&rep->length); WriteToClient(client, size, rep); } - |