summaryrefslogtreecommitdiff
path: root/Xi/getprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getprop.c')
-rw-r--r--Xi/getprop.c26
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);