summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-12-13 17:40:58 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-12-13 17:40:58 -0600
commit965d25392965e2e3e54e73fa3ed8c995f3f1bf7c (patch)
tree835549438e0b7c5f5cdd56d122837c5815a8cc43
parenta69393f9fe336bafd8c27b75895a940ee97c6725 (diff)
downloadlibpng-965d25392965e2e3e54e73fa3ed8c995f3f1bf7c.tar.gz
[libpng12] Remove new redundant prototype for png_check_keyword() from png.h
-rw-r--r--png.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/png.h b/png.h
index 4df41f870..834c8417e 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 */