summaryrefslogtreecommitdiff
path: root/test/trap-clip.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-07-13 12:58:24 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-07-13 12:58:24 -0400
commitcf1b23a4c57d436098619443068611a48b88187e (patch)
treecb758aac54afc1e1593b8eaae0dda06b8e1931c4 /test/trap-clip.c
parentf8eeca97684f7c8eba7b918c34fe5ccbf32e2f5f (diff)
Add prototype for draw in each test file and remove it from the header.
Diffstat (limited to 'test/trap-clip.c')
-rw-r--r--test/trap-clip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/trap-clip.c b/test/trap-clip.c
index 3adeb344e..a1483de09 100644
--- a/test/trap-clip.c
+++ b/test/trap-clip.c
@@ -164,6 +164,8 @@ static void (*clip_funcs[])(cairo_t *cr, int x, int y) = {
#define IMAGE_WIDTH (ARRAY_SIZE (pattern_funcs) * (WIDTH + PAD) + PAD)
#define IMAGE_HEIGHT (ARRAY_SIZE (draw_funcs) * ARRAY_SIZE (clip_funcs) * (HEIGHT + PAD) + PAD)
+static cairo_test_draw_function_t draw;
+
cairo_test_t test = {
"trap-clip",
"Trapezoid clipping",