From f1eed8bc90f9694fab5e83c024f0f74cc3b2eec8 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 4 Aug 2025 17:01:24 +0200 Subject: [PATCH] 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 --- Xext/shape.c | 2 +- Xext/xcmisc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Xext/shape.c b/Xext/shape.c index 97d7d47ce8..0c5353e98b 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -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; diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index 073a3a5e53..6ca7b7dac6 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -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);