From e14d352661c0a472e6fa1779a69a38e7fe04ec27 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 27 Nov 2025 19:02:17 +0100 Subject: [PATCH] dix: move GCAllBits define into private header Signed-off-by: Enrico Weigelt, metux IT consult --- dix/gc_priv.h | 2 ++ include/gcstruct.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dix/gc_priv.h b/dix/gc_priv.h index 385865b2f9..4861f2bd17 100644 --- a/dix/gc_priv.h +++ b/dix/gc_priv.h @@ -9,6 +9,8 @@ #include "include/gc.h" +#define GCAllBits ((1 << (GCLastBit + 1)) - 1) + int ChangeGCXIDs(ClientPtr client, GCPtr pGC, BITS32 mask, CARD32 * pval); GCPtr CreateGC(DrawablePtr pDrawable, diff --git a/include/gcstruct.h b/include/gcstruct.h index 45613da15a..48c2122b96 100644 --- a/include/gcstruct.h +++ b/include/gcstruct.h @@ -55,8 +55,6 @@ SOFTWARE. #include "screenint.h" #include "privates.h" -#define GCAllBits ((1 << (GCLastBit + 1)) - 1) - #ifndef _XTYPEDEF_CHARINFOPTR typedef struct _CharInfo *CharInfoPtr; /* also in fonts/include/font.h */ #define _XTYPEDEF_CHARINFOPTR