dix: unexport FreeColormap()
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:
parent
7ce67a99bc
commit
a1902f2029
|
@ -5,6 +5,8 @@
|
||||||
#ifndef _XSERVER_DIX_COLORMAP_PRIV_H
|
#ifndef _XSERVER_DIX_COLORMAP_PRIV_H
|
||||||
#define _XSERVER_DIX_COLORMAP_PRIV_H
|
#define _XSERVER_DIX_COLORMAP_PRIV_H
|
||||||
|
|
||||||
|
#include <X11/Xdefs.h>
|
||||||
|
|
||||||
#include "dix/screenint_priv.h"
|
#include "dix/screenint_priv.h"
|
||||||
#include "include/colormap.h"
|
#include "include/colormap.h"
|
||||||
|
|
||||||
|
@ -13,4 +15,7 @@ typedef struct _CMEntry *EntryPtr;
|
||||||
int CreateColormap(Colormap mid, ScreenPtr pScreen, VisualPtr pVisual,
|
int CreateColormap(Colormap mid, ScreenPtr pScreen, VisualPtr pVisual,
|
||||||
ColormapPtr *ppcmap, int alloc, int client);
|
ColormapPtr *ppcmap, int alloc, int client);
|
||||||
|
|
||||||
|
/* should only be called via resource type's destructor */
|
||||||
|
int FreeColormap(void *pmap, XID mid);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */
|
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */
|
||||||
|
|
|
@ -123,6 +123,7 @@ Equipment Corporation.
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
|
|
||||||
|
#include "dix/colormap_priv.h"
|
||||||
#include "dix/gc_priv.h"
|
#include "dix/gc_priv.h"
|
||||||
#include "dix/registry_priv.h"
|
#include "dix/registry_priv.h"
|
||||||
#include "os/osdep.h"
|
#include "os/osdep.h"
|
||||||
|
|
|
@ -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 int FreeColormap(void *pmap,
|
|
||||||
XID mid);
|
|
||||||
|
|
||||||
extern _X_EXPORT int TellLostMap(WindowPtr pwin,
|
extern _X_EXPORT int TellLostMap(WindowPtr pwin,
|
||||||
void *value);
|
void *value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue