diff options
Diffstat (limited to 'image/png.c')
-rw-r--r-- | image/png.c | 4 |
1 files 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); |