diff options
author | Benjamin Otte <otte@redhat.com> | 2010-05-13 14:21:21 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-05-13 15:17:24 +0200 |
commit | acfbf95a0c7620359fd917224b5b391702740190 (patch) | |
tree | 8f26f985a86490e0548714104507826e47d3da1f /test | |
parent | c69143e3f9c95ab3937a7efb8e4de170c4edb648 (diff) |
test: Make global variables in new test static
It seems there's no gcc flag that warns about this.
Diffstat (limited to 'test')
-rw-r--r-- | test/zero-mask.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/zero-mask.c b/test/zero-mask.c index b1458b3b..bed348fb 100644 --- a/test/zero-mask.c +++ b/test/zero-mask.c @@ -138,7 +138,7 @@ mask_with_extend_none (cairo_t *cr) typedef void (* mask_func_t) (cairo_t *); -mask_func_t mask_funcs[] = { +static mask_func_t mask_funcs[] = { paint_with_alpha, mask_with_solid, mask_with_empty_gradient, @@ -150,7 +150,7 @@ mask_func_t mask_funcs[] = { mask_with_extend_none }; -cairo_operator_t operators[] = { +static cairo_operator_t operators[] = { CAIRO_OPERATOR_CLEAR, CAIRO_OPERATOR_SOURCE, CAIRO_OPERATOR_OVER, |