mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Xext: use x_rpcbuf_t instead of struct x_rpcbuf
For consistency, always use the typedef instead of raw struct. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -964,7 +964,7 @@ ProcShapeGetRectangles(ClientPtr client)
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
struct x_rpcbuf rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
|
||||
x_rpcbuf_t rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
|
||||
|
||||
if (!region) {
|
||||
xRectangle rect;
|
||||
|
||||
@@ -115,7 +115,7 @@ ProcXCMiscGetXIDList(ClientPtr client)
|
||||
|
||||
size_t count = GetXIDList(client, stuff->count, pids);
|
||||
|
||||
struct x_rpcbuf rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
|
||||
x_rpcbuf_t rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
|
||||
|
||||
x_rpcbuf_write_CARD32s(&rpcbuf, pids, count);
|
||||
free(pids);
|
||||
|
||||
Reference in New Issue
Block a user