dix: unexport QueryColors()

Not used by any driver/module, so no need to keep it exported.

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 11:58:21 +02:00 committed by Marge Bot
parent 968cb9c7fa
commit 5dc5d2965b
3 changed files with 5 additions and 6 deletions

View File

@ -10,6 +10,7 @@
#include "dix/screenint_priv.h" #include "dix/screenint_priv.h"
#include "include/colormap.h" #include "include/colormap.h"
#include "include/dix.h"
#include "include/window.h" #include "include/window.h"
typedef struct _CMEntry *EntryPtr; typedef struct _CMEntry *EntryPtr;
@ -33,4 +34,7 @@ void FakeAllocColor(ColormapPtr pmap, xColorItem *item);
void FakeFreeColor(ColormapPtr pmap, Pixel pixel); void FakeFreeColor(ColormapPtr pmap, Pixel pixel);
int QueryColors(ColormapPtr pmap, int count, Pixel *ppixIn,
xrgb *prgbList, ClientPtr client);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */ #endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -38,6 +38,7 @@ from The Open Group.
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include <X11/Xos.h> #include <X11/Xos.h>
#include "dix/colormap_priv.h"
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "dix/screenint_priv.h" #include "dix/screenint_priv.h"
#include "os/cmdline.h" #include "os/cmdline.h"

View File

@ -74,12 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */ /* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr; typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int QueryColors(ColormapPtr /*pmap */ ,
int /*count */ ,
Pixel * /*ppixIn */ ,
xrgb * /*prgbList */ ,
ClientPtr client);
extern _X_EXPORT int FreeClientPixels(void *pcr, extern _X_EXPORT int FreeClientPixels(void *pcr,
XID fakeid); XID fakeid);