diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-06 12:35:04 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-06 13:15:45 -0600 |
commit | 1cc02f0395aa85e71927c5a45b4bc8091a7d9ef8 (patch) | |
tree | 3ca04025157dc47c8f82e90925941e167f7b3519 /contrib/tools/pngfix.c | |
parent | a710317d2f9cb1e154861c000ee1cc1c70794a85 (diff) | |
download | libpng-baserock/mikedrake/libpng-upgrade.tar.gz |
[master] Imported from libpng-1.6.10.tarbaserock/mikedrake/update-chunksbaserock/mikedrake/libpng-upgrade
Diffstat (limited to 'contrib/tools/pngfix.c')
-rw-r--r-- | contrib/tools/pngfix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tools/pngfix.c b/contrib/tools/pngfix.c index 08b23e73b..3b64627c2 100644 --- a/contrib/tools/pngfix.c +++ b/contrib/tools/pngfix.c @@ -2,7 +2,7 @@ * * Copyright (c) 2014 John Cunningham Bowler * - * Last changed in libpng 1.6.9 [February 6, 2014] + * Last changed in libpng 1.6.10 [March 6, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -3159,13 +3159,13 @@ read_chunk(struct file *file) /* This returns a file* from a png_struct in an implementation specific way. */ static struct file *get_control(png_const_structrp png_ptr); -static void +static void PNGCBAPI error_handler(png_structp png_ptr, png_const_charp message) { stop(get_control(png_ptr), LIBPNG_ERROR_CODE, message); } -static void +static void PNGCBAPI warning_handler(png_structp png_ptr, png_const_charp message) { struct file *file = get_control(png_ptr); @@ -3177,7 +3177,7 @@ warning_handler(png_structp png_ptr, png_const_charp message) /* Read callback - this is where the work gets done to check the stream before * passing it to libpng */ -static void +static void PNGCBAPI read_callback(png_structp png_ptr, png_bytep buffer, size_t count) /* Return 'count' bytes to libpng in 'buffer' */ { |