[PATCH 1/4] Fix redundant declaration of RRTransformCompute()
Dave Airlie
airlied at gmail.com
Mon May 14 02:21:56 PDT 2012
On Fri, Jan 27, 2012 at 3:55 PM, Jon TURNEY <jon.turney at dronecode.org.uk> wrote:
> randrstr.h:612:1: warning: redundant redeclaration of 'RRTransformCompute' [-Wredundant-decls]
> rrtransform.h:63:1: note: previous declaration of 'RRTransformCompute' was here
>
> randrstr.h includes rrtransform.h, so it seems sensible to just remove the redundant declaration
> in randrstr.h
>
> The comment describing RRTransformCompute() is already repeated at the definition
>
> Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
> randr/randrstr.h | 19 -------------------
> 1 files changed, 0 insertions(+), 19 deletions(-)
>
> diff --git a/randr/randrstr.h b/randr/randrstr.h
> index 842e0e0..fedddb6 100644
> --- a/randr/randrstr.h
> +++ b/randr/randrstr.h
> @@ -602,25 +602,6 @@ extern _X_EXPORT void
> RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
>
> /*
> - * Compute the complete transformation matrix including
> - * client-specified transform, rotation/reflection values and the crtc
> - * offset.
> - *
> - * Return TRUE if the resulting transform is not a simple translation.
> - */
> -extern _X_EXPORT Bool
> -RRTransformCompute (int x,
> - int y,
> - int width,
> - int height,
> - Rotation rotation,
> - RRTransformPtr rr_transform,
> -
> - PictTransformPtr transform,
> - struct pict_f_transform *f_transform,
> - struct pict_f_transform *f_inverse);
> -
> -/*
> * Return crtc transform
> */
> extern _X_EXPORT RRTransformPtr
> --
> 1.7.5.1
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list