mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dbe: 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
3d43102e96
commit
87468931cc
20
dbe/dbe.c
20
dbe/dbe.c
@@ -114,12 +114,12 @@ ProcDbeGetVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST_SIZE_MATCH(xDbeGetVersionReq);
|
||||
|
||||
xDbeGetVersionReply rep = {
|
||||
xDbeGetVersionReply reply = {
|
||||
.majorVersion = DBE_MAJOR_VERSION,
|
||||
.minorVersion = DBE_MINOR_VERSION
|
||||
};
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
@@ -640,15 +640,15 @@ ProcDbeGetVisualInfo(ClientPtr client)
|
||||
free(visualInfo.visinfo);
|
||||
}
|
||||
|
||||
xDbeGetVisualInfoReply rep = {
|
||||
xDbeGetVisualInfoReply reply = {
|
||||
.m = count
|
||||
};
|
||||
|
||||
if (client->swapped) {
|
||||
swapl(&rep.m);
|
||||
swapl(&reply.m);
|
||||
}
|
||||
|
||||
rc = X_SEND_REPLY_WITH_RPCBUF(client, rep, rpcbuf);
|
||||
rc = X_SEND_REPLY_WITH_RPCBUF(client, reply, rpcbuf);
|
||||
|
||||
clearRpcBuf:
|
||||
x_rpcbuf_clear(&rpcbuf);
|
||||
@@ -688,20 +688,20 @@ ProcDbeGetBackBufferAttributes(ClientPtr client)
|
||||
dbeWindowPrivResType, client,
|
||||
DixGetAttrAccess);
|
||||
|
||||
xDbeGetBackBufferAttributesReply rep = { 0 };
|
||||
xDbeGetBackBufferAttributesReply reply = { 0 };
|
||||
|
||||
if (rc == Success) {
|
||||
rep.attributes = pDbeWindowPriv->pWindow->drawable.id;
|
||||
reply.attributes = pDbeWindowPriv->pWindow->drawable.id;
|
||||
}
|
||||
else {
|
||||
rep.attributes = None;
|
||||
reply.attributes = None;
|
||||
}
|
||||
|
||||
if (client->swapped) {
|
||||
swapl(&rep.attributes);
|
||||
swapl(&reply.attributes);
|
||||
}
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user