diff --git a/randr/randrstr.h b/randr/randrstr.h index b920dcbc8..eb606dccc 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -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); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 3bac26890..47e4e239c 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -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_ */