From 965d25392965e2e3e54e73fa3ed8c995f3f1bf7c Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sun, 13 Dec 2015 17:40:58 -0600 Subject: [PATCH] [libpng12] Remove new redundant prototype for png_check_keyword() from png.h --- png.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/png.h b/png.h index 4df41f87..834c8417 100644 --- a/png.h +++ b/png.h @@ -3067,8 +3067,8 @@ PNG_EXTERN void png_write_hIST PNGARG((png_structp png_ptr, png_uint_16p hist, int num_hist)) PNG_PRIVATE; #endif -#if defined(PNG_WRITE_TEXT_SUPPORTED) || defined(PNG_WRITE_pCAL_SUPPORTED) || \ - defined(PNG_WRITE_iCCP_SUPPORTED) || defined(PNG_WRITE_sPLT_SUPPORTED) +#if defined(PNG_TEXT_SUPPORTED) || defined(PNG_pCAL_SUPPORTED) || \ + defined(PNG_iCCP_SUPPORTED) || defined(PNG_sPLT_SUPPORTED) PNG_EXTERN png_size_t png_check_keyword PNGARG((png_structp png_ptr, png_charp key, png_charpp new_key)) PNG_PRIVATE; #endif @@ -3539,9 +3539,6 @@ PNG_EXTERN png_voidp png_calloc PNGARG((png_structp png_ptr, png_uint_32 size)); -PNG_EXTERN png_size_t png_check_keyword PNGARG((png_structp png_ptr, - png_charp key, png_charpp new_key)) PNG_PRIVATE; - /* Maintainer: Put new private prototypes here ^ and in libpngpf.3 */ #endif /* PNG_INTERNAL */