mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Xi: consistenly name reply structs "reply" instead of "rep"
Preparation for future use of generic reply assembly macros. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
36503b11b7
commit
dbbbf14a83
@@ -108,7 +108,7 @@ ProcXIQueryDevice(ClientPtr client)
|
||||
return BadAlloc;
|
||||
}
|
||||
|
||||
xXIQueryDeviceReply rep = {
|
||||
xXIQueryDeviceReply reply = {
|
||||
.RepType = X_XIQueryDevice,
|
||||
};
|
||||
|
||||
@@ -117,7 +117,7 @@ ProcXIQueryDevice(ClientPtr client)
|
||||
if (client->swapped)
|
||||
SwapDeviceInfo(dev, (xXIDeviceInfo *) info);
|
||||
info += len;
|
||||
rep.num_devices = 1;
|
||||
reply.num_devices = 1;
|
||||
}
|
||||
else {
|
||||
i = 0;
|
||||
@@ -127,7 +127,7 @@ ProcXIQueryDevice(ClientPtr client)
|
||||
if (client->swapped)
|
||||
SwapDeviceInfo(dev, (xXIDeviceInfo *) info);
|
||||
info += len;
|
||||
rep.num_devices++;
|
||||
reply.num_devices++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ ProcXIQueryDevice(ClientPtr client)
|
||||
if (client->swapped)
|
||||
SwapDeviceInfo(dev, (xXIDeviceInfo *) info);
|
||||
info += len;
|
||||
rep.num_devices++;
|
||||
reply.num_devices++;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -145,10 +145,10 @@ ProcXIQueryDevice(ClientPtr client)
|
||||
free(skip);
|
||||
|
||||
if (client->swapped) {
|
||||
swaps(&rep.num_devices);
|
||||
swaps(&reply.num_devices);
|
||||
}
|
||||
|
||||
return X_SEND_REPLY_WITH_RPCBUF(client, rep, rpcbuf);
|
||||
return X_SEND_REPLY_WITH_RPCBUF(client, reply, rpcbuf);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user