summaryrefslogtreecommitdiff
path: root/test/nil-surface.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/nil-surface.c
parentf8eeca97684f7c8eba7b918c34fe5ccbf32e2f5f (diff)
downloadcairo-cf1b23a4c57d436098619443068611a48b88187e.tar.gz
Add prototype for draw in each test file and remove it from the header.
Diffstat (limited to 'test/nil-surface.c')
-rw-r--r--test/nil-surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nil-surface.c b/test/nil-surface.c
index 5819cb0b5..80cb290cd 100644
--- a/test/nil-surface.c
+++ b/test/nil-surface.c
@@ -32,6 +32,8 @@
* https://bugs.freedesktop.org/show_bug.cgi?id=3915
*/
+static cairo_test_draw_function_t draw;
+
cairo_test_t test = {
"nil-surface",
"Test that nil surfaces do not make cairo crash.",