From 5480c537cee79b324736eac3e438a4713dfa1036 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 20 Feb 2006 21:50:49 +0000 Subject: ANSIfy Xi/. Mostly automated via protoize(1). --- Xi/getkmap.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'Xi/getkmap.c') 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); -- cgit v1.2.3