summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-02-19 10:25:22 +0100
committerBenjamin Otte <otte@redhat.com>2011-02-19 10:25:22 +0100
commitf847b3c2162029ee0b0ae4906d48a0d7c1312df3 (patch)
tree3e0419063f5881492c25bf3a121cab4cd5434e7b /test
parent7386960d063e4a3642fb281aaae071404d837bdb (diff)
test: Fix gcc complaints about old style definitions
Diffstat (limited to 'test')
-rw-r--r--test/cairo-test-runner.c2
-rw-r--r--test/xcb-stress-cache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cairo-test-runner.c b/test/cairo-test-runner.c
index 539817ef5..aebec7634 100644
--- a/test/cairo-test-runner.c
+++ b/test/cairo-test-runner.c
@@ -126,7 +126,7 @@ _log (cairo_test_context_t *ctx,
}
static void
-_tests_reverse ()
+_tests_reverse (void)
{
cairo_test_t *list, *next;
diff --git a/test/xcb-stress-cache.c b/test/xcb-stress-cache.c
index 3c7ee1522..3e3d0a289 100644
--- a/test/xcb-stress-cache.c
+++ b/test/xcb-stress-cache.c
@@ -58,7 +58,7 @@
*/
static cairo_surface_t *
-create_image ()
+create_image (void)
{
cairo_surface_t *surface;
cairo_t *cr;