From 4df12ef3d8ac512082f980aa00b21edf464c841c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 24 Jul 2026 19:38:16 +0200 Subject: [PATCH] xext: xv: use stdbool's 'bool' instead of 'Bool' for local variables Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xv/xvdisp.c | 15 ++++++++------- Xext/xv/xvmc.c | 3 ++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Xext/xv/xvdisp.c b/Xext/xv/xvdisp.c index 591d3f6c20..53ecc4684c 100644 --- a/Xext/xv/xvdisp.c +++ b/Xext/xv/xvdisp.c @@ -23,8 +23,9 @@ SOFTWARE. #include -#include +#include +#include #include #include #include @@ -1055,8 +1056,8 @@ XineramaXvShmPutImage(ClientPtr client) { REQUEST(xvShmPutImageReq); PanoramiXRes *draw, *gc, *port; - Bool send_event; - Bool isRoot; + bool send_event; + bool isRoot; int result, x, y; send_event = stuff->send_event; @@ -1109,7 +1110,7 @@ XineramaXvPutImage(ClientPtr client) { REQUEST(xvPutImageReq); PanoramiXRes *draw, *gc, *port; - Bool isRoot; + bool isRoot; int result, x, y; result = dixLookupResourceByClass((void **) &draw, stuff->drawable, @@ -1156,7 +1157,7 @@ XineramaXvPutVideo(ClientPtr client) { REQUEST(xvPutImageReq); PanoramiXRes *draw, *gc, *port; - Bool isRoot; + bool isRoot; int result, x, y; result = dixLookupResourceByClass((void **) &draw, stuff->drawable, @@ -1203,7 +1204,7 @@ XineramaXvPutStill(ClientPtr client) { REQUEST(xvPutImageReq); PanoramiXRes *draw, *gc, *port; - Bool isRoot; + bool isRoot; int result, x, y; result = dixLookupResourceByClass((void **) &draw, stuff->drawable, @@ -1316,7 +1317,7 @@ XineramifyXv(void) SetResourceTypeErrorValue(XvXRTPort, _XvBadPort); for (i = 0; i < xvsp0->nAdaptors; i++) { - Bool isOverlay; + bool isOverlay; XvAdaptorPtr refAdapt = xvsp0->pAdaptors + i; if (!(refAdapt->type & XvInputMask)) diff --git a/Xext/xv/xvmc.c b/Xext/xv/xvmc.c index 666dfe7c12..93f09dd64b 100644 --- a/Xext/xv/xvmc.c +++ b/Xext/xv/xvmc.c @@ -1,6 +1,7 @@ #include +#include #include #include #include @@ -358,7 +359,7 @@ ProcXvMCCreateSubpicture(ClientPtr client) X_REQUEST_FIELD_CARD16(width); X_REQUEST_FIELD_CARD16(height); - Bool image_supported = FALSE; + bool image_supported = FALSE; CARD32 *data = NULL; int result, dwords = 0; XvMCContextPtr pContext;