(submit/colormap.h) dix: unexport FakeAllocColor()

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

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 11:38:58 +02:00
parent 14e6ac21e4
commit f5b64a482c
4 changed files with 9 additions and 8 deletions

View File

@ -6,6 +6,7 @@
#define _XSERVER_DIX_COLORMAP_PRIV_H
#include <X11/Xdefs.h>
#include <X11/Xproto.h>
#include "dix/screenint_priv.h"
#include "include/colormap.h"
@ -28,4 +29,6 @@ int CopyColormapAndFree(Colormap mid, ColormapPtr pSrc, int client);
int AllocColor(ColormapPtr pmap, unsigned short *pred, unsigned short *pgreen,
unsigned short *pblue, Pixel *pPix, int client );
void FakeAllocColor(ColormapPtr pmap, xColorItem *item);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -4,12 +4,13 @@
#endif
#include <string.h>
#include <X11/X.h>
#include "dix/colormap_priv.h"
#include "misc.h"
#include "xf86.h"
#include "xf86_OSproc.h"
#include <X11/X.h>
#include "scrnintstr.h"
#include "pixmapstr.h"
#include "windowstr.h"
@ -19,7 +20,6 @@
#include "mipointer.h"
#include "randrstr.h"
#include "xf86CursorPriv.h"
#include "servermd.h"
static void

View File

@ -74,9 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT void FakeAllocColor(ColormapPtr /*pmap */ ,
xColorItem * /*item */ );
extern _X_EXPORT void FakeFreeColor(ColormapPtr /*pmap */ ,
Pixel /*pixel */ );

View File

@ -35,7 +35,10 @@ in this Software without prior written authorization from The Open Group.
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/fonts/font.h>
#include <X11/fonts/fontstruct.h>
#include "dix/colormap_priv.h"
#include "dix/dix_priv.h"
#include "misc.h"
@ -43,7 +46,6 @@ in this Software without prior written authorization from The Open Group.
#include "input.h"
#include "mi.h"
#include "cursorstr.h"
#include <X11/fonts/font.h>
#include "scrnintstr.h"
#include "colormapst.h"
#include "windowstr.h"
@ -51,7 +53,6 @@ in this Software without prior written authorization from The Open Group.
#include "mipointer.h"
#include "misprite.h"
#include "dixfontstr.h"
#include <X11/fonts/fontstruct.h>
#include "inputstr.h"
#include "damage.h"