From 6ed9b1de8bb2aa5220c60fbf0b42aea78f889da1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 13 Jun 2011 11:02:27 +0000 Subject: [PATCH] Fix warnings. svn path=/trunk/netsurf/; revision=12472 --- image/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image/png.c b/image/png.c index 95f68ed94..3b4b30dc0 100644 --- a/image/png.c +++ b/image/png.c @@ -77,7 +77,7 @@ static unsigned int interlace_row_step[8] = {8, 8, 8, 4, 4, 2, 2}; /** * nspng_warning -- callback for libpng warnings */ -void nspng_warning(png_structp png_ptr, png_const_charp warning_message) +static void nspng_warning(png_structp png_ptr, png_const_charp warning_message) { LOG(("%s", warning_message)); } @@ -85,7 +85,7 @@ void nspng_warning(png_structp png_ptr, png_const_charp warning_message) /** * nspng_error -- callback for libpng errors */ -void nspng_error(png_structp png_ptr, png_const_charp error_message) +static void nspng_error(png_structp png_ptr, png_const_charp error_message) { LOG(("%s", error_message)); longjmp(png_ptr->jmpbuf, 1);