[previous] Removed PNGAPI declaration of png_calloc() and png_write_sig()

in 1ibpng-1.2.X, introduced by mistake in libpng-1.2.41.
This commit is contained in:
Glenn Randers-Pehrson 2010-02-08 06:18:54 -06:00
parent fa9633125d
commit d08f1469cb
4 changed files with 6 additions and 2 deletions

View File

@ -62,6 +62,8 @@ version 1.2.43beta04 [February 7, 2010]
version 1.2.43beta05 [February 7, 2010]
Reverted recent changes to png_push_save-buffer().
Removed PNGAPI declaration of png_calloc() and png_write_sig() in
1ibpng-1.2.X, introduced by mistake in libpng-1.2.41.
version 1.0.53rc01 and 1.2.43rc01 [February 8, 2010]
No changes.

View File

@ -2664,6 +2664,8 @@ version 1.2.43beta04 [February 7, 2010]
version 1.2.43beta05 [February 7, 2010]
Reverted recent changes to png_push_save-buffer().
Removed PNGAPI declaration of png_calloc() and png_write_sig() in
1ibpng-1.2.X, introduced by mistake in libpng-1.2.41.
version 1.0.53rc01 and 1.2.43rc01 [February 8, 2010]
No changes.

View File

@ -115,7 +115,7 @@ png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn,
* result, we would be truncating potentially larger memory requests
* (which should cause a fatal error) and introducing major problems.
*/
png_voidp PNGAPI
png_voidp /* PRIVATE */
png_calloc(png_structp png_ptr, png_uint_32 size)
{
png_voidp ret;

View File

@ -59,7 +59,7 @@ png_save_uint_16(png_bytep buf, unsigned int i)
* we should call png_set_sig_bytes() to tell libpng how many of the
* bytes have already been written.
*/
void PNGAPI
void /* PRIVATE */
png_write_sig(png_structp png_ptr)
{
png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};