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:
Enrico Weigelt, metux IT consult 2024-06-28 11:03:35 +02:00 committed by Marge Bot
parent 7ce67a99bc
commit a1902f2029
3 changed files with 6 additions and 3 deletions

View File

@ -5,6 +5,8 @@
#ifndef _XSERVER_DIX_COLORMAP_PRIV_H
#define _XSERVER_DIX_COLORMAP_PRIV_H
#include <X11/Xdefs.h>
#include "dix/screenint_priv.h"
#include "include/colormap.h"
@ -13,4 +15,7 @@ typedef struct _CMEntry *EntryPtr;
int CreateColormap(Colormap mid, ScreenPtr pScreen, VisualPtr pVisual,
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 */

View File

@ -123,6 +123,7 @@ Equipment Corporation.
#include <X11/X.h>
#include "dix/colormap_priv.h"
#include "dix/gc_priv.h"
#include "dix/registry_priv.h"
#include "os/osdep.h"

View File

@ -74,9 +74,6 @@ typedef CARD32 Pixel;
/* moved to screenint.h: typedef struct _ColormapRec *ColormapPtr */
typedef struct _colorResource *colorResourcePtr;
extern _X_EXPORT int FreeColormap(void *pmap,
XID mid);
extern _X_EXPORT int TellLostMap(WindowPtr pwin,
void *value);