[libpng16] Removed png_get_signature() and info_ptr->signature from WRITE-only

builds.  Restored png_get_channels() to WRITE-only builds.
This commit is contained in:
Glenn Randers-Pehrson
2012-08-10 07:49:44 -05:00
parent 8d3453a22d
commit 5d1df4fdf4
3 changed files with 4 additions and 3 deletions

View File

@@ -423,7 +423,6 @@ png_get_pHYs_dpi(png_const_structrp png_ptr, png_const_inforp info_ptr,
#endif /* PNG_EASY_ACCESS_SUPPORTED */
#ifdef PNG_READ_SUPPORTED
png_byte PNGAPI
png_get_channels(png_const_structrp png_ptr, png_const_inforp info_ptr)
{
@@ -433,6 +432,7 @@ png_get_channels(png_const_structrp png_ptr, png_const_inforp info_ptr)
return (0);
}
#ifdef PNG_READ_SUPPORTED
png_const_bytep PNGAPI
png_get_signature(png_const_structrp png_ptr, png_const_inforp info_ptr)
{