(submit/cursor-api) dix: unexport CursorMetricsFromGlyph()

This function isn't used by external modules, thus no need to export it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-29 13:19:17 +01:00
parent de47314c07
commit 7be3aae7a7
2 changed files with 5 additions and 4 deletions

View File

@ -7,6 +7,7 @@
#include <X11/fonts/font.h>
#include <X11/X.h>
#include <X11/Xdefs.h>
#include <X11/Xmd.h>
#include "include/cursor.h"
@ -54,4 +55,8 @@ int ServerBitsFromGlyph(FontPtr pfont,
CursorMetricPtr cm,
unsigned char **ppbits);
Bool CursorMetricsFromGlyph(FontPtr pfont,
unsigned ch,
CursorMetricPtr cm);
#endif /* _XSERVER_DIX_CURSOR_PRIV_H */

View File

@ -65,10 +65,6 @@ typedef struct _CursorMetric *CursorMetricPtr;
extern _X_EXPORT int FreeCursor(void *pCurs,
XID cid);
extern _X_EXPORT Bool CursorMetricsFromGlyph(FontPtr /*pfont */ ,
unsigned /*ch */ ,
CursorMetricPtr /*cm */ );
extern _X_EXPORT void CheckCursorConfinement(WindowPtr /*pWin */ );
extern _X_EXPORT void NewCurrentScreen(struct _DeviceIntRec * /*pDev */ ,