From aebc3c592e6bdae797f2f198d8ee0ed95b6742d4 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 17:35:46 +0200 Subject: [PATCH] randr: unexport and document RRTransformCopy() Not used by any external drivers, so no neeed to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr_priv.h | 9 +++++++++ randr/rrtransform.h | 3 --- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index d984ad456..706fd2a57 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -545,4 +545,13 @@ Bool RRTransformEqual(RRTransformPtr a, RRTransformPtr b); Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter, xFixed *params, int nparams, int width, int height); +/* + * Copy transform structure to another + * + * @param dst destination structure pointer + * @param src source structure pointer + * @return TRUE on success + */ +Bool RRTransformCopy(RRTransformPtr dst, RRTransformPtr src); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */ diff --git a/randr/rrtransform.h b/randr/rrtransform.h index 9c8b7fe81..0a03e11c3 100644 --- a/randr/rrtransform.h +++ b/randr/rrtransform.h @@ -39,9 +39,6 @@ struct _rrTransform { int height; }; -extern _X_EXPORT Bool - RRTransformCopy(RRTransformPtr dst, RRTransformPtr src); - /* * Compute the complete transformation matrix including * client-specified transform, rotation/reflection values and the crtc