From 97da5f97ba512953a40e712a571204c30517a835 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 25 Feb 2025 15:08:30 +0100 Subject: [PATCH] dix: move SHAREDCOLOR struct declaration out of public header Not used by any external module/driver, so no need to keep it in public header. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/colormap_priv.h | 6 ++++++ include/colormapst.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 3cea80cd7..22d80be6d 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -20,6 +20,12 @@ #define CM_AllAllocated 2 #define CM_BeingCreated 4 +/* Shared color -- the color is used by AllocColorPlanes */ +typedef struct { + unsigned short color; + short refcnt; +} SHAREDCOLOR; + /* SHCO -- a shared color for a PseudoColor cell. Used with AllocColorPlanes. * DirectColor maps always use the first value (called red) in the structure. * What channel they are really talking about depends on which map they diff --git a/include/colormapst.h b/include/colormapst.h index a404ad3c5..f0149aef5 100644 --- a/include/colormapst.h +++ b/include/colormapst.h @@ -49,12 +49,6 @@ SOFTWARE. #include -/* Shared color -- the color is used by AllocColorPlanes */ -typedef struct { - unsigned short color; - short refcnt; -} SHAREDCOLOR; - /* LOCO -- a local color for a PseudoColor cell. DirectColor maps always * use the first value (called red) in the structure. What channel they * are really talking about depends on which map they are in. */