dix: move internal defines into colormap.c

These are really internal to colormap.c, so move them there.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1581>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 12:44:08 +02:00 committed by Marge Bot
parent cbf5d88352
commit 7ba3fc3a54
2 changed files with 8 additions and 7 deletions

View File

@ -68,6 +68,14 @@ SOFTWARE.
#include "privates.h"
#include "xace.h"
#define REDMAP 0
#define GREENMAP 1
#define BLUEMAP 2
#define PSEUDOMAP 3
#define AllocPrivate (-1)
#define AllocTemporary (-2)
typedef int (*ColorCompareProcPtr) (EntryPtr /*pent */ ,
xrgb * /*prgb */ );

View File

@ -51,13 +51,6 @@ SOFTWARE.
#include "screenint.h"
#include "window.h"
/* Passed internally in colormap.c */
#define REDMAP 0
#define GREENMAP 1
#define BLUEMAP 2
#define PSEUDOMAP 3
#define AllocPrivate (-1)
#define AllocTemporary (-2)
#define DynamicClass 1
/* Values for the flags field of a colormap. These should have 1 bit set