summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-12-13 17:38:02 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-12-13 17:38:02 -0600
commite96c299bf4c57ece669e499358529a4122f1fc7a (patch)
tree61c5e375e3648db43aa110be37e95cae2e48266e
parent6e7474c7eb79a2af09d039df27c0fe2b7db67283 (diff)
downloadlibpng-e96c299bf4c57ece669e499358529a4122f1fc7a.tar.gz
[libpng14] Remove new redundant prototype for png_check_keyword() from pngpriv.h
-rw-r--r--pngpriv.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/pngpriv.h b/pngpriv.h
index 8fe3a6ddf..7a145dd0c 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -417,8 +417,8 @@ PNG_EXTERN void png_write_hIST PNGARG((png_structp png_ptr, png_uint_16p hist,
int num_hist));
#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));
#endif
@@ -956,9 +956,6 @@ PNG_EXTERN void *png_far_to_near PNGARG((png_structp png_ptr,png_voidp ptr,
#define png_debug2(l, m, p1, p2)
#endif
-PNG_EXTERN png_size_t png_check_keyword PNGARG((png_structp png_ptr,
- png_charp key, png_charpp new_key));
-
/* Maintainer: Put new private prototypes here ^ and in libpngpf.3 */
#ifdef __cplusplus