On Fri, Jan 27, 2012 at 3:55 PM, Jon TURNEY <[email protected]> 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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]> > --- > 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 > > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
