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:
Enrico Weigelt, metux IT consult 2025-02-25 15:08:30 +01:00
parent 662dc6e9f3
commit 97da5f97ba
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -49,12 +49,6 @@ SOFTWARE.
#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
* use the first value (called red) in the structure. What channel they
* are really talking about depends on which map they are in. */