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>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1345>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-29 13:19:17 +01:00 committed by Marge Bot
parent 974cd2b5f2
commit 0c354e9166
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

@ -70,10 +70,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 */ ,