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

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:
Enrico Weigelt, metux IT consult 2025-08-04 17:01:24 +02:00
commit f1eed8bc90
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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);