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:
Enrico Weigelt, metux IT consult
2025-12-04 16:11:24 +01:00
committed by Enrico Weigelt
parent 36503b11b7
commit dbbbf14a83
21 changed files with 138 additions and 138 deletions

View File

@@ -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);
}
/**