summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-chart.c
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-04-16 17:37:18 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-04-18 10:09:10 -0700
commitcd11a4ff0421fd293279b202be800550890574bb (patch)
treead7ecaf85527daa7e47d98a4ed2bb167bfa69e6a /perf/cairo-perf-chart.c
parent3e22a8580a8045e450a2f2e47c8ac36abf8882ae (diff)
downloadcairo-cd11a4ff0421fd293279b202be800550890574bb.tar.gz
perf: Refactor some common macros to cairo-perf.h
These macros are standard in src's cairoint.h and test's cairo-test.h internal header files, so for consistency do the same thing with perf's cairo-perf.h. Reviewed-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'perf/cairo-perf-chart.c')
-rw-r--r--perf/cairo-perf-chart.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/perf/cairo-perf-chart.c b/perf/cairo-perf-chart.c
index 1faa964f2..738fe5c7b 100644
--- a/perf/cairo-perf-chart.c
+++ b/perf/cairo-perf-chart.c
@@ -57,8 +57,6 @@ struct color {
#define FONT_SIZE 12
#define PAD (4)
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-
static double
to_factor (double x)
{