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

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:17:27 +02:00
parent 1b656b5c58
commit 7bbe8769cf
3 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@
#include "dix/screenint_priv.h"
#include "include/colormap.h"
#include "include/window.h"
typedef struct _CMEntry *EntryPtr;
@ -18,4 +19,6 @@ int CreateColormap(Colormap mid, ScreenPtr pScreen, VisualPtr pVisual,
/* should only be called via resource type's destructor */
int FreeColormap(void *pmap, XID mid);
int TellLostMap(WindowPtr pwin, void *value);
#endif /* _XSERVER_DIX_COLORMAP_PRIV_H */

View File

@ -25,6 +25,8 @@
#endif
#include "kdrive.h"
#include "dix/colormap_priv.h"
/*
* Put the entire colormap into the DAC
*/

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 TellLostMap(WindowPtr pwin,
void *value);
extern _X_EXPORT int TellGainedMap(WindowPtr pwin,
void *value);