randr: unexport and document RRFirstEnabledCrtc()

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 13:34:20 +02:00
parent cff509582c
commit cb80660ad1
3 changed files with 10 additions and 2 deletions

View File

@ -21,6 +21,8 @@
*/ */
#include <dix-config.h> #include <dix-config.h>
#include "randr/randrstr_priv.h"
#include "present_priv.h" #include "present_priv.h"
#include <gcstruct.h> #include <gcstruct.h>

View File

@ -519,8 +519,6 @@ extern _X_EXPORT Bool RRScreenInit(ScreenPtr pScreen);
extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen); extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen);
extern _X_EXPORT RRCrtcPtr RRFirstEnabledCrtc(ScreenPtr pScreen);
extern _X_EXPORT Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop); extern _X_EXPORT Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
extern _X_EXPORT CARD16 extern _X_EXPORT CARD16

View File

@ -144,4 +144,12 @@ void RRResourcesChanged(ScreenPtr pScreen);
*/ */
Bool RRInit(void); Bool RRInit(void);
/*
* Retrieve the first enabled CRTC on given screen
*
* @param pScreen the screen to query
* @return pointer to CRTC structure or NULL
*/
RRCrtcPtr RRFirstEnabledCrtc(ScreenPtr pScreen);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */