From ca6b72e362c2fc2eaca90813c4cd5ee5db2f3018 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 14:08:36 +0200 Subject: [PATCH] randr: unexport and document RRCrtcSetTransformSupport() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr.h | 6 ------ randr/randrstr_priv.h | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index e7e30a618..588aa0db7 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -560,12 +560,6 @@ extern _X_EXPORT RRCrtcPtr RRCrtcCreate(ScreenPtr pScreen, void *devPrivate); extern _X_EXPORT void RRCrtcSetRotations(RRCrtcPtr crtc, Rotation rotations); -/* - * Set whether transforms are allowed on a CRTC - */ -extern _X_EXPORT void - RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); - /* * Notify the extension that the Crtc has been reconfigured, * the driver calls this whenever it has updated the mode diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 389e1faee..4754ea521 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -176,4 +176,12 @@ CARD16 RRVerticalRefresh(xRRModeInfo * mode); */ Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc); +/* + * Set whether transforms are allowed on a CRTC + * + * @param crtc the CRTC to set the flag on + * @param transforms TRUE if transforms are allowed + */ +void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */