1 --- libpng-1.2.41/png.h~ 2009-12-03 01:46:00.000000000 +0000
2 +++ libpng-1.2.41/png.h 2009-12-04 11:43:03.564781939 +0000
3 @@ -1858,16 +1858,16 @@
4 extern PNG_EXPORT(void,png_destroy_read_struct) PNGARG((png_structpp
5 png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr));
7 -/* Free all memory used by the read (old method - NOT DLL EXPORTED) */
8 -extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
9 - png_infop end_info_ptr)) PNG_DEPRECATED;
10 +/* Free all memory used by the read (old method) */
11 +extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr,
12 + png_infop info_ptr, png_infop end_info_ptr)); PNG_DEPRECATED;
14 /* Free any memory associated with the png_struct and the png_info_structs */
15 extern PNG_EXPORT(void,png_destroy_write_struct)
16 PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr));
18 -/* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
19 -extern void png_write_destroy PNGARG((png_structp png_ptr)) PNG_DEPRECATED;
20 +/* Free any memory used in png_ptr struct (old method) */
21 +extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr)); PNG_DEPRECATED;
23 /* Set the libpng method of handling chunk CRC errors */
24 extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr,
25 --- libpng-1.2.41/pngread.c~ 2009-12-03 01:46:00.000000000 +0000
26 +++ libpng-1.2.41/pngread.c 2009-12-04 11:44:30.031438764 +0000
30 /* Free all memory used by the read (old method) */
33 png_read_destroy(png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)
35 #ifdef PNG_SETJMP_SUPPORTED
36 --- libpng-1.2.41/pngwrite.c~ 2009-12-03 01:46:00.000000000 +0000
37 +++ libpng-1.2.41/pngwrite.c 2009-12-04 11:46:02.941431637 +0000
41 /* Free any memory used in png_ptr struct (old method) */
44 png_write_destroy(png_structp png_ptr)
46 #ifdef PNG_SETJMP_SUPPORTED