summaryrefslogtreecommitdiff
path: root/Xi/getdctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getdctl.c')
-rw-r--r--Xi/getdctl.c25
1 files changed, 8 insertions, 17 deletions
diff --git a/Xi/getdctl.c b/Xi/getdctl.c
index 527273ac4..672824985 100644
--- a/Xi/getdctl.c
+++ b/Xi/getdctl.c
@@ -78,9 +78,8 @@ SOFTWARE.
*/
int
-SProcXGetDeviceControl(client)
- register ClientPtr client;
- {
+SProcXGetDeviceControl(register ClientPtr client)
+{
register char n;
REQUEST(xGetDeviceControlReq);
@@ -97,9 +96,8 @@ SProcXGetDeviceControl(client)
*/
int
-ProcXGetDeviceControl(client)
- ClientPtr client;
- {
+ProcXGetDeviceControl(ClientPtr client)
+{
int total_length = 0;
char *buf, *savbuf;
register DeviceIntPtr dev;
@@ -172,12 +170,8 @@ ProcXGetDeviceControl(client)
*/
void
-CopySwapDeviceResolution (client, v, buf, length)
- ClientPtr client;
- ValuatorClassPtr v;
- char *buf;
- int length;
- {
+CopySwapDeviceResolution (ClientPtr client, ValuatorClassPtr v, char *buf, int length)
+{
register char n;
AxisInfoPtr a;
xDeviceResolutionState *r;
@@ -216,11 +210,8 @@ CopySwapDeviceResolution (client, v, buf, length)
*/
void
-SRepXGetDeviceControl (client, size, rep)
- ClientPtr client;
- int size;
- xGetDeviceControlReply *rep;
- {
+SRepXGetDeviceControl (ClientPtr client, int size, xGetDeviceControlReply *rep)
+{
register char n;
swaps(&rep->sequenceNumber, n);