dix: unexport StoreColors()

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 12:24:07 +02:00 committed by Marge Bot
parent 6809621985
commit 5eca51a5d2
3 changed files with 9 additions and 10 deletions

View File

@ -49,4 +49,6 @@ int AllocColorPlanes(int client, ColormapPtr pmap, int colors, int r, int g,
int FreeColors(ColormapPtr pmap, int client, int count, Pixel *pixels, Pixel mask);
int StoreColors(ColormapPtr pmap, int count, xColorItem * defs, ClientPtr client);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -74,11 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int StoreColors(ColormapPtr /*pmap */ ,
int /*count */ ,
xColorItem * /*defs */ ,
ClientPtr client);
extern _X_EXPORT int IsMapInstalled(Colormap /*map */ ,
WindowPtr /*pWin */ );

View File

@ -33,6 +33,13 @@
#include <dix-config.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include "dix/colormap_priv.h"
#include "mi.h"
#include "scrnintstr.h"
#include "gcstruct.h"
@ -43,11 +50,6 @@
#include "picturestr.h"
#include "colormapst.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include "rootlessCommon.h"
#include "rootlessWindow.h"