dix: move Entry (struct _CMEntry) 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 14:48:34 +01:00
parent adc27c5220
commit 52cf7135f2
2 changed files with 9 additions and 11 deletions

View File

@ -20,7 +20,15 @@
#define CM_AllAllocated 2
#define CM_BeingCreated 4
typedef struct _CMEntry *EntryPtr;
/* color map entry */
typedef struct _CMEntry {
union {
LOCO local;
SHCO shco;
} co;
short refcnt;
Bool fShared;
} Entry, *EntryPtr;
/* COLORMAPs can be used for either Direct or Pseudo color. PseudoColor
* only needs one cell table, we arbitrarily pick red. We keep track

View File

@ -70,14 +70,4 @@ typedef struct {
SHAREDCOLOR *red, *green, *blue;
} SHCO;
/* color map entry */
typedef struct _CMEntry {
union {
LOCO local;
SHCO shco;
} co;
short refcnt;
Bool fShared;
} Entry;
#endif /* COLORMAP_H */