xext: xres: use stdbool's 'bool' instead of 'Bool' for local variables

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2026-07-24 19:50:21 +02:00 • committed by Enrico Weigelt
commit b2d8e7d806

View file

@ -4,6 +4,7 @@
#include <dix-config.h>
#include <stdbool.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
@ -565,7 +566,7 @@ AddSubResourceSizeSpec(void *value,
xXResResourceSizeSpec **prevCrossRef =
ht_find(ctx->visitedSubResources, &value);
if (!prevCrossRef) {
Bool ok = TRUE;
bool ok = TRUE;
xXResResourceSizeSpec *crossRef =
AddFragment(&ctx->response, sizeof(xXResResourceSizeSpec));
ok = ok && crossRef != NULL;
@ -624,7 +625,7 @@ AddResourceSizeValue(void *ptr, XID id, RESTYPE type, void *cdata)
ConstructResourceBytesCtx *ctx = cdata;
if (ctx->status == Success &&
!ht_find(ctx->visitedResources, &id)) {
Bool ok = TRUE;
bool ok = TRUE;
HashTable ht;
HtGenericHashSetupRec htSetup = {
.keySize = sizeof(void*)