dix: unexport ServerBitsFromGlyph()
This function isn't used by external modules/drivers, so 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:
		
							parent
							
								
									24f3c4a508
								
							
						
					
					
						commit
						974cd2b5f2
					
				|  | @ -5,6 +5,7 @@ | ||||||
| #ifndef _XSERVER_DIX_CURSOR_PRIV_H | #ifndef _XSERVER_DIX_CURSOR_PRIV_H | ||||||
| #define _XSERVER_DIX_CURSOR_PRIV_H | #define _XSERVER_DIX_CURSOR_PRIV_H | ||||||
| 
 | 
 | ||||||
|  | #include <X11/fonts/font.h> | ||||||
| #include <X11/X.h> | #include <X11/X.h> | ||||||
| #include <X11/Xmd.h> | #include <X11/Xmd.h> | ||||||
| 
 | 
 | ||||||
|  | @ -48,4 +49,9 @@ int AllocGlyphCursor(Font source, | ||||||
| 
 | 
 | ||||||
| CursorPtr CreateRootCursor(void); | CursorPtr CreateRootCursor(void); | ||||||
| 
 | 
 | ||||||
|  | int ServerBitsFromGlyph(FontPtr pfont, | ||||||
|  |                         unsigned int ch, | ||||||
|  |                         CursorMetricPtr cm, | ||||||
|  |                         unsigned char **ppbits); | ||||||
|  | 
 | ||||||
| #endif /* _XSERVER_DIX_CURSOR_PRIV_H */ | #endif /* _XSERVER_DIX_CURSOR_PRIV_H */ | ||||||
|  |  | ||||||
|  | @ -48,6 +48,8 @@ SOFTWARE. | ||||||
| #include <dix-config.h> | #include <dix-config.h> | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  | #include "dix/cursor_priv.h" | ||||||
|  | 
 | ||||||
| #include "misc.h" | #include "misc.h" | ||||||
| #include <X11/fonts/fontstruct.h> | #include <X11/fonts/fontstruct.h> | ||||||
| #include "dixfontstr.h" | #include "dixfontstr.h" | ||||||
|  |  | ||||||
|  | @ -70,11 +70,6 @@ typedef struct _CursorMetric *CursorMetricPtr; | ||||||
| extern _X_EXPORT int FreeCursor(void *pCurs, | extern _X_EXPORT int FreeCursor(void *pCurs, | ||||||
|                                 XID cid); |                                 XID cid); | ||||||
| 
 | 
 | ||||||
| extern _X_EXPORT int ServerBitsFromGlyph(FontPtr /*pfont */ , |  | ||||||
|                                          unsigned int /*ch */ , |  | ||||||
|                                          CursorMetricPtr /*cm */ , |  | ||||||
|                                          unsigned char ** /*ppbits */ ); |  | ||||||
| 
 |  | ||||||
| extern _X_EXPORT Bool CursorMetricsFromGlyph(FontPtr /*pfont */ , | extern _X_EXPORT Bool CursorMetricsFromGlyph(FontPtr /*pfont */ , | ||||||
|                                              unsigned /*ch */ , |                                              unsigned /*ch */ , | ||||||
|                                              CursorMetricPtr /*cm */ ); |                                              CursorMetricPtr /*cm */ ); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue