randr: unexport and document RRModeInitErrorValue()

Not used by any external drivers, 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 2025-05-16 15:42:20 +02:00
parent eb6af16528
commit be111fce3f
2 changed files with 7 additions and 6 deletions

View File

@ -609,12 +609,6 @@ extern _X_EXPORT RRModePtr RRModeGet(xRRModeInfo * modeInfo, const char *name);
extern _X_EXPORT void
RRModeDestroy(RRModePtr mode);
/*
* Initialize mode type error value
*/
extern _X_EXPORT void
RRModeInitErrorValue(void);
/* rroutput.c */
/*

View File

@ -308,4 +308,11 @@ RRModePtr *RRModesForScreen(ScreenPtr pScreen, int *num_ret);
*/
Bool RRModeInit(void);
/*
* Initialize mode type error value
*
* @return TRUE on success
*/
void RRModeInitErrorValue(void);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */