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/getprop.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/getprop.c')
-rw-r--r-- | Xi/getprop.c | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/Xi/getprop.c b/Xi/getprop.c index 2b4de1f3e..bbca24574 100644 --- a/Xi/getprop.c +++ b/Xi/getprop.c @@ -82,9 +82,8 @@ extern int ExtEventIndex; */ int -SProcXGetDeviceDontPropagateList(client) - register ClientPtr client; - { +SProcXGetDeviceDontPropagateList(register ClientPtr client) +{ register char n; REQUEST(xGetDeviceDontPropagateListReq); @@ -101,9 +100,8 @@ SProcXGetDeviceDontPropagateList(client) */ int -ProcXGetDeviceDontPropagateList (client) - register ClientPtr client; - { +ProcXGetDeviceDontPropagateList (register ClientPtr client) +{ CARD16 count = 0; int i; XEventClass *buf = NULL, *tbuf; @@ -167,13 +165,8 @@ ProcXGetDeviceDontPropagateList (client) */ XEventClass -*ClassFromMask (buf, mask, maskndx, count, mode) - XEventClass *buf; - Mask mask; - int maskndx; - CARD16 *count; - int mode; - { +*ClassFromMask (XEventClass *buf, Mask mask, int maskndx, CARD16 *count, int mode) +{ int i,j; int id = maskndx; Mask tmask = 0x80000000; @@ -201,11 +194,8 @@ XEventClass */ void -SRepXGetDeviceDontPropagateList (client, size, rep) - ClientPtr client; - int size; - xGetDeviceDontPropagateListReply *rep; - { +SRepXGetDeviceDontPropagateList (ClientPtr client, int size, xGetDeviceDontPropagateListReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |