randr: unexport and document RRModeInit()

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:40:44 +02:00
parent 60a2d2dc37
commit eb6af16528
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 extern _X_EXPORT void
RRModeDestroy(RRModePtr mode); RRModeDestroy(RRModePtr mode);
/*
* Initialize mode type
*/
extern _X_EXPORT Bool
RRModeInit(void);
/* /*
* Initialize mode type error value * Initialize mode type error value
*/ */

View File

@ -301,4 +301,11 @@ Bool RROutputIsLeased(RROutputPtr output);
*/ */
RRModePtr *RRModesForScreen(ScreenPtr pScreen, int *num_ret); RRModePtr *RRModesForScreen(ScreenPtr pScreen, int *num_ret);
/*
* Initialize mode resource type
*
* @return TRUE on success
*/
Bool RRModeInit(void);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */