randr: unexport and document RROutputDeleteUserMode()

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:49:49 +02:00
parent df8db3c479
commit 2214ebdc44
2 changed files with 10 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
RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode);
extern _X_EXPORT Bool
RROutputSetCrtcs(RROutputPtr output, RRCrtcPtr * crtcs, int numCrtcs);

View File

@ -324,4 +324,14 @@ void RRModeInitErrorValue(void);
*/
int RROutputAddUserMode(RROutputPtr output, RRModePtr mode);
/*
* Delete user-given mode (that had been added via RROutputAddUserMode)
* from output.
*
* @param output the output from which the mode is to be removed
* @param mode the mode to be removed from output
* @return X error code
*/
int RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */