diff --git a/dix/colormap_priv.h b/dix/colormap_priv.h index 81615f800..3cea80cd7 100644 --- a/dix/colormap_priv.h +++ b/dix/colormap_priv.h @@ -20,6 +20,14 @@ #define CM_AllAllocated 2 #define CM_BeingCreated 4 +/* 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 + * are in. */ +typedef struct { + SHAREDCOLOR *red, *green, *blue; +} SHCO; + /* color map entry */ typedef struct _CMEntry { union { diff --git a/include/colormapst.h b/include/colormapst.h index eb0c59137..a404ad3c5 100644 --- a/include/colormapst.h +++ b/include/colormapst.h @@ -62,12 +62,4 @@ typedef struct { unsigned short red, green, blue; } LOCO; -/* 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 - * are in. */ -typedef struct { - SHAREDCOLOR *red, *green, *blue; -} SHCO; - #endif /* COLORMAP_H */