diff options
author | Carl Worth <cworth@cworth.org> | 2006-08-08 01:16:49 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-08-08 01:16:49 -0700 |
commit | c3b912d7db34c5881cf14725b7d29266cbf24877 (patch) | |
tree | 84188088e73c7caf74ffd2f80bb032739eeb491c /test/cairo-test.h | |
parent | c7d11ad2b4778cb7399eae990a410cb72568af11 (diff) |
Eliminate most compiler warnings from the test suite
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r-- | test/cairo-test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h index 3694f35d..8402d13a 100644 --- a/test/cairo-test.h +++ b/test/cairo-test.h @@ -30,6 +30,7 @@ #include "config.h" #endif +#include <stdio.h> #include <math.h> #include <cairo.h> @@ -135,7 +136,7 @@ cairo_status_t cairo_test_paint_checkered (cairo_t *cr); void -xasprintf (char **strp, const char *fmt, ...); +xasprintf (char **strp, const char *fmt, ...) CAIRO_PRINTF_FORMAT(2, 3); CAIRO_END_DECLS |