diff --git a/dix/colormap.c b/dix/colormap.c index 77b80d0e9..193f286bd 100644 --- a/dix/colormap.c +++ b/dix/colormap.c @@ -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 */ ); diff --git a/include/colormap.h b/include/colormap.h index cfeed9020..016c76d63 100644 --- a/include/colormap.h +++ b/include/colormap.h @@ -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