mi: move *_VISUALS defines into consumer source file

These are only needed inside one .c source, so no need to keep thm exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1498>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-22 17:25:26 +02:00 committed by Marge Bot
parent 98104c969d
commit 27babe0334
2 changed files with 5 additions and 15 deletions

View File

@ -39,6 +39,11 @@
#include "globals.h" #include "globals.h"
#include "micmap.h" #include "micmap.h"
#define ALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|\
PseudoColorMask|TrueColorMask|DirectColorMask)
#define LARGE_VISUALS (TrueColorMask|DirectColorMask)
#define SMALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|PseudoColorMask)
DevPrivateKeyRec micmapScrPrivateKeyRec; DevPrivateKeyRec micmapScrPrivateKeyRec;
int int

View File

@ -49,19 +49,4 @@ extern _X_EXPORT Bool miInitVisuals(VisualPtr *, DepthPtr *, int *, int *,
#define TrueColorMask (1 << TrueColor) #define TrueColorMask (1 << TrueColor)
#define DirectColorMask (1 << DirectColor) #define DirectColorMask (1 << DirectColor)
#define ALL_VISUALS (StaticGrayMask|\
GrayScaleMask|\
StaticColorMask|\
PseudoColorMask|\
TrueColorMask|\
DirectColorMask)
#define LARGE_VISUALS (TrueColorMask|\
DirectColorMask)
#define SMALL_VISUALS (StaticGrayMask|\
GrayScaleMask|\
StaticColorMask|\
PseudoColorMask)
#endif /* _MICMAP_H_ */ #endif /* _MICMAP_H_ */