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