Skip to content

Commit

Permalink
image: Silence a compile warning
Browse files Browse the repository at this point in the history
cairo-image-surface.c: In function ‘_cairo_image_reset_static_data’:
cairo-image-surface.c:1006: warning: old-style function definition

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Sep 29, 2010
1 parent 75e2b7c commit ac6fd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo-image-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ static struct {
static int n_cached;

void
_cairo_image_reset_static_data ()
_cairo_image_reset_static_data (void)
{
while (n_cached)
pixman_image_unref (cache[--n_cached].image);
Expand Down

0 comments on commit ac6fd51

Please sign in to comment.