randr: unexport and document RROutputAddUserMode()

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:47:24 +02:00
parent be111fce3f
commit df8db3c479
2 changed files with 9 additions and 3 deletions

View File

@ -638,9 +638,6 @@ extern _X_EXPORT Bool
RROutputSetModes(RROutputPtr output,
RRModePtr * modes, int numModes, int numPreferred);
extern _X_EXPORT int
RROutputAddUserMode(RROutputPtr output, RRModePtr mode);
extern _X_EXPORT int
RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode);

View File

@ -315,4 +315,13 @@ Bool RRModeInit(void);
*/
void RRModeInitErrorValue(void);
/*
* Add user-given mode to output
*
* @param output the output where to which a mode should be added
* @param mode the mode to add to the output
* @return X error code
*/
int RROutputAddUserMode(RROutputPtr output, RRModePtr mode);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */