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 <info@metux.net>
This commit is contained in:
parent
662dc6e9f3
commit
97da5f97ba
|
@ -20,6 +20,12 @@
|
||||||
#define CM_AllAllocated 2
|
#define CM_AllAllocated 2
|
||||||
#define CM_BeingCreated 4
|
#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.
|
/* SHCO -- a shared color for a PseudoColor cell. Used with AllocColorPlanes.
|
||||||
* DirectColor maps always use the first value (called red) in the structure.
|
* DirectColor maps always use the first value (called red) in the structure.
|
||||||
* What channel they are really talking about depends on which map they
|
* What channel they are really talking about depends on which map they
|
||||||
|
|
|
@ -49,12 +49,6 @@ SOFTWARE.
|
||||||
|
|
||||||
#include <X11/Xdefs.h>
|
#include <X11/Xdefs.h>
|
||||||
|
|
||||||
/* 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
|
/* LOCO -- a local color for a PseudoColor cell. DirectColor maps always
|
||||||
* use the first value (called red) in the structure. What channel they
|
* use the first value (called red) in the structure. What channel they
|
||||||
* are really talking about depends on which map they are in. */
|
* are really talking about depends on which map they are in. */
|
||||||
|
|
Loading…
Reference in New Issue