[libpng14] Remove new redundant prototype for png_check_keyword() from pngpriv.h
diff --git a/pngpriv.h b/pngpriv.h
index 8fe3a6d..7a145dd 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -417,8 +417,8 @@
    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 @@
 #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