[libpng17] Fix typos in png_get_palette_max name and prototype

This commit is contained in:
John Bowler
2013-02-05 08:10:01 -06:00
committed by Glenn Randers-Pehrson
parent 862993827d
commit 81892f6b90
2 changed files with 20 additions and 9 deletions

2
png.h
View File

@@ -3208,7 +3208,7 @@ PNG_EXPORT(240, int, png_image_write_to_stdio, (png_imagep image, FILE *file,
defined(PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED)
PNG_EXPORT(242, void, png_set_check_for_invalid_index,
(png_structrp png_ptr, int allowed));
PNG_EXPORT(243, void, png_get_palette_max, (png_structp png_ptr,
PNG_EXPORT(243, int, png_get_palette_max, (png_const_structp png_ptr,
png_const_infop info_ptr));
#endif