[PATCH 1/4] Fix redundant declaration of RRTransformCompute()

Jon TURNEY jon.turney at dronecode.org.uk
Fri Jan 27 07:55:40 PST 2012


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>
---
 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



More information about the xorg-devel mailing list