From 3bc4221ec2d2a8cbc7f1cbedad54a273328708c2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 16:01:19 +0200 Subject: [PATCH] randr: unexport and document RROutputInit() 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 | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 87eb86d27..012060808 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -650,12 +650,6 @@ extern _X_EXPORT Bool extern _X_EXPORT void RROutputDestroy(RROutputPtr output); -/* - * Initialize output type - */ -extern _X_EXPORT Bool - RROutputInit(void); - /* * Initialize output type error value */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index c42aae2d6..cf8a68bfa 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -351,4 +351,11 @@ void RROutputSetSubpixelOrder(RROutputPtr output, int order); */ void RRDeliverOutputEvent(ClientPtr pClient, WindowPtr pWin, RROutputPtr output); +/* + * Initialize output resource type + * + * @return TRUE on success + */ +Bool RROutputInit(void); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */