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

Ravi Nanjundappa nravi.n at samsung.com
Tue Apr 22 05:23:12 PDT 2014


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.

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



More information about the cairo mailing list