[cairo] [PATCH] perf: Refactor some macros to cairo-perf.h

Bryce W. Harrington b.harrington at samsung.com
Tue Apr 22 09:55:17 PDT 2014


On Tue, Apr 22, 2014 at 05:53:12PM +0530, Ravi Nanjundappa wrote:
> This commit covers one of the left out modifications from
> "commit cd11a4ff0421fd293279b202be800550890574bb" by Bryce.
> It removes the duplicate macro definition in cairo-perf-diff-files.c
> which by default includes the cairo-perf.h having MAX macro defnition.

Ah yes, missed that one, thanks!
 
> Signed-off-by: Ravi Nanjundappa <nravi.n at samsung.com>
> ---
>  perf/cairo-perf-diff-files.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/perf/cairo-perf-diff-files.c b/perf/cairo-perf-diff-files.c
> index 0850927..36b80cd 100644
> --- a/perf/cairo-perf-diff-files.c
> +++ b/perf/cairo-perf-diff-files.c
> @@ -220,7 +220,6 @@ test_diff_print_multi (test_diff_t		   *diff,
>      printf("\n");
>  }
>  
> -#define MAX(a,b) ((a) > (b) ? (a) : (b))
>  static void
>  cairo_perf_reports_compare (cairo_perf_report_t 	*reports,
>  			    int 			 num_reports,
> -- 
> 1.7.9.5
> 
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list