(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:
parent
14e6ac21e4
commit
f5b64a482c
|
@ -6,6 +6,7 @@
|
||||||
#define _XSERVER_DIX_COLORMAP_PRIV_H
|
#define _XSERVER_DIX_COLORMAP_PRIV_H
|
||||||
|
|
||||||
#include <X11/Xdefs.h>
|
#include <X11/Xdefs.h>
|
||||||
|
#include <X11/Xproto.h>
|
||||||
|
|
||||||
#include "dix/screenint_priv.h"
|
#include "dix/screenint_priv.h"
|
||||||
#include "include/colormap.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,
|
int AllocColor(ColormapPtr pmap, unsigned short *pred, unsigned short *pgreen,
|
||||||
unsigned short *pblue, Pixel *pPix, int client );
|
unsigned short *pblue, Pixel *pPix, int client );
|
||||||
|
|
||||||
|
void FakeAllocColor(ColormapPtr pmap, xColorItem *item);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */
|
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */
|
||||||
|
|
|
@ -4,12 +4,13 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <X11/X.h>
|
||||||
|
|
||||||
|
#include "dix/colormap_priv.h"
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "xf86.h"
|
#include "xf86.h"
|
||||||
#include "xf86_OSproc.h"
|
#include "xf86_OSproc.h"
|
||||||
|
|
||||||
#include <X11/X.h>
|
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "windowstr.h"
|
#include "windowstr.h"
|
||||||
|
@ -19,7 +20,6 @@
|
||||||
#include "mipointer.h"
|
#include "mipointer.h"
|
||||||
#include "randrstr.h"
|
#include "randrstr.h"
|
||||||
#include "xf86CursorPriv.h"
|
#include "xf86CursorPriv.h"
|
||||||
|
|
||||||
#include "servermd.h"
|
#include "servermd.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -74,9 +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 void FakeAllocColor(ColormapPtr /*pmap */ ,
|
|
||||||
xColorItem * /*item */ );
|
|
||||||
|
|
||||||
extern _X_EXPORT void FakeFreeColor(ColormapPtr /*pmap */ ,
|
extern _X_EXPORT void FakeFreeColor(ColormapPtr /*pmap */ ,
|
||||||
Pixel /*pixel */ );
|
Pixel /*pixel */ );
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,10 @@ in this Software without prior written authorization from The Open Group.
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xproto.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 "dix/dix_priv.h"
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
@ -43,7 +46,6 @@ in this Software without prior written authorization from The Open Group.
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "mi.h"
|
#include "mi.h"
|
||||||
#include "cursorstr.h"
|
#include "cursorstr.h"
|
||||||
#include <X11/fonts/font.h>
|
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "colormapst.h"
|
#include "colormapst.h"
|
||||||
#include "windowstr.h"
|
#include "windowstr.h"
|
||||||
|
@ -51,7 +53,6 @@ in this Software without prior written authorization from The Open Group.
|
||||||
#include "mipointer.h"
|
#include "mipointer.h"
|
||||||
#include "misprite.h"
|
#include "misprite.h"
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include <X11/fonts/fontstruct.h>
|
|
||||||
#include "inputstr.h"
|
#include "inputstr.h"
|
||||||
#include "damage.h"
|
#include "damage.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue