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. */