From dfa0207c0383a2b3c62391a10349b746e3f965b9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 14:30:44 +0200 Subject: [PATCH] randr: unexport and document RRCrtcInit() Not supposed to be called by any driver, just internal to the extension, so shouldn't have been exported in the first place. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr.h | 6 ------ randr/randrstr_priv.h | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 93e37f29d..8dec4be3c 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -595,12 +595,6 @@ extern _X_EXPORT Bool extern _X_EXPORT Bool RRCrtcGammaSetSize(RRCrtcPtr crtc, int size); -/* - * Initialize crtc type - */ -extern _X_EXPORT Bool - RRCrtcInit(void); - /* * Initialize crtc type error value */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 1ca3ab28f..b0c39d93a 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -218,4 +218,9 @@ RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); */ void RRCrtcDestroy(RRCrtcPtr crtc); +/* + * Initialize crtc resource type + */ +Bool RRCrtcInit(void); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */