diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-02-20 21:50:49 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-02-20 21:50:49 +0000 |
commit | 5480c537cee79b324736eac3e438a4713dfa1036 (patch) | |
tree | f5534698be88e804e08ccda77b1df89c2d56d2ae /Xi/getkmap.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/getkmap.c')
-rw-r--r-- | Xi/getkmap.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/getkmap.c b/Xi/getkmap.c index 4e67d9c71..5de044677 100644 --- a/Xi/getkmap.c +++ b/Xi/getkmap.c @@ -79,9 +79,8 @@ SOFTWARE. */ int -SProcXGetDeviceKeyMapping(client) - register ClientPtr client; - { +SProcXGetDeviceKeyMapping(register ClientPtr client) +{ register char n; REQUEST(xGetDeviceKeyMappingReq); @@ -96,9 +95,8 @@ SProcXGetDeviceKeyMapping(client) */ int -ProcXGetDeviceKeyMapping(client) - register ClientPtr client; - { +ProcXGetDeviceKeyMapping(register ClientPtr client) +{ xGetDeviceKeyMappingReply rep; DeviceIntPtr dev; KeySymsPtr k; @@ -164,11 +162,8 @@ ProcXGetDeviceKeyMapping(client) */ void -SRepXGetDeviceKeyMapping (client, size, rep) - ClientPtr client; - int size; - xGetDeviceKeyMappingReply *rep; - { +SRepXGetDeviceKeyMapping (ClientPtr client, int size, xGetDeviceKeyMappingReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |