summaryrefslogtreecommitdiff
path: root/perf/cairo-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-12 12:32:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-12 22:28:38 +0100
commita41e1275d28317c88e29b7f142cfc835673c01f5 (patch)
treee03ba47be122d53a66e41e333dfe641ce0b5ce99 /perf/cairo-perf.h
parent6aebde6598c629d667b06e20111106832d139c4d (diff)
[boilerplate] Make array of targets const.
Protect the boilerplate targets from unexpected modifications.
Diffstat (limited to 'perf/cairo-perf.h')
-rw-r--r--perf/cairo-perf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/perf/cairo-perf.h b/perf/cairo-perf.h
index fbb1500b..8ea9149f 100644
--- a/perf/cairo-perf.h
+++ b/perf/cairo-perf.h
@@ -84,9 +84,9 @@ typedef struct _cairo_perf {
/* Stuff used internally */
cairo_perf_ticks_t *times;
- cairo_boilerplate_target_t **targets;
+ const cairo_boilerplate_target_t **targets;
int num_targets;
- cairo_boilerplate_target_t *target;
+ const cairo_boilerplate_target_t *target;
unsigned int test_number;
unsigned int size;
cairo_t *cr;