]> git.pld-linux.org Git - packages/libpng.git/blame - libpng-export_old.patch
- rel 2; use am/ac
[packages/libpng.git] / libpng-export_old.patch
CommitLineData
901949c3 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 @@
3a30473a
PS
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));
6
9f147502 7-/* Free all memory used by the read (old method - NOT DLL EXPORTED) */
3a30473a 8-extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
901949c3 9- png_infop end_info_ptr)) PNG_DEPRECATED;
10+/* Free all memory used by the read (old method) */
3a30473a 11+extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr,
901949c3 12+ png_infop info_ptr, png_infop end_info_ptr)); PNG_DEPRECATED;
3a30473a 13
9f147502 14 /* Free any memory associated with the png_struct and the png_info_structs */
3a30473a
PS
15 extern PNG_EXPORT(void,png_destroy_write_struct)
16 PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr));
17
9f147502 18-/* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
901949c3 19-extern void png_write_destroy PNGARG((png_structp png_ptr)) PNG_DEPRECATED;
9f147502 20+/* Free any memory used in png_ptr struct (old method) */
901949c3 21+extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr)); PNG_DEPRECATED;
3a30473a 22
9f147502 23 /* Set the libpng method of handling chunk CRC errors */
3a30473a 24 extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr,
901949c3 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
27@@ -1177,7 +1177,7 @@
3a30473a
PS
28 }
29
6df9a45f 30 /* Free all memory used by the read (old method) */
3a30473a
PS
31-void /* PRIVATE */
32+void PNGAPI
33 png_read_destroy(png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)
34 {
35 #ifdef PNG_SETJMP_SUPPORTED
901949c3 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
38@@ -1100,7 +1100,7 @@
3a30473a
PS
39
40
41 /* Free any memory used in png_ptr struct (old method) */
42-void /* PRIVATE */
43+void PNGAPI
44 png_write_destroy(png_structp png_ptr)
45 {
46 #ifdef PNG_SETJMP_SUPPORTED
This page took 0.108472 seconds and 4 git commands to generate.