From 4b0854252b9621903eb5a3120b1d505720fcf0c7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 14:32:46 +0200 Subject: [PATCH] randr: unexport and document RRCrtcInitErrorValue() Not supposed to be called by drivers, just internal to the randr extsnsion, 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 | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 8dec4be3c..9ae9cf42b 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 error value - */ -extern _X_EXPORT void - RRCrtcInitErrorValue(void); - /* * Detach and free a scanout pixmap */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index b0c39d93a..5da7105c4 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -223,4 +223,10 @@ void RRCrtcDestroy(RRCrtcPtr crtc); */ Bool RRCrtcInit(void); + +/* + * Initialize crtc type error value + */ +void RRCrtcInitErrorValue(void); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */