mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
Xext: use x_rpcbuf_t instead of struct x_rpcbuf
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run
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:
parent
510464d343
commit
f1eed8bc90
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue