From f2c99bd5dc36069f77fd484fb638ccf4a3dc2369 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 9 Mar 2010 08:40:52 -0600 Subject: [PATCH] [devel] Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3 --- ANNOUNCE | 1 + CHANGES | 1 + libpngpf.3 | 2 -- pngpriv.h | 2 -- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 424eb1612..0d3cbac56 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -89,6 +89,7 @@ version 1.5.0beta13 [March 9, 2010] Revise the "#ifdef" blocks in png_inflate() so it will compile when neither PNG_USER_CHUNK_MALLOC_MAX nor PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED is defined. + Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3 Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index e00230324..f1cca6550 100644 --- a/CHANGES +++ b/CHANGES @@ -2566,6 +2566,7 @@ version 1.5.0beta13 [March 9, 2010] Revise the "#ifdef" blocks in png_inflate() so it will compile when neither PNG_USER_CHUNK_MALLOC_MAX nor PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED is defined. + Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3 Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/libpngpf.3 b/libpngpf.3 index 5058f0ae2..b601504eb 100644 --- a/libpngpf.3 +++ b/libpngpf.3 @@ -3,8 +3,6 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta13 (private functions) .SH SYNOPSIS -\fB#include \fP - \fB#include \fI"pngpriv.h" \fI\fB diff --git a/pngpriv.h b/pngpriv.h index d8a1578f1..8efeff208 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -309,8 +309,6 @@ PNG_EXTERN void png_crc_read PNGARG((png_structp png_ptr, png_bytep buf, /* Decompress data in a chunk that uses compression */ #if defined(PNG_zTXt_SUPPORTED) || defined(PNG_iTXt_SUPPORTED) || \ defined(PNG_iCCP_SUPPORTED) || defined(PNG_sPLT_SUPPORTED) -PNG_EXTERN png_size_t png_measure_decompressed_chunk PNGARG((png_structp - png_ptr, int comp_type, png_size_t chunklength, png_size_t prefix_length)); PNG_EXTERN void png_decompress_chunk PNGARG((png_structp png_ptr, int comp_type, png_size_t chunklength, png_size_t prefix_length, png_size_t *data_length));