From 349beb3f9b2a10a9a5cc001c115c2f742a833d6f Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Wed, 22 Feb 2012 17:26:38 +0000 Subject: Xcode 4.3 compatibility checkin The command line tools from Xcode 4.3 create an incorrect implicit definition for a couple of functions which causes compilation to fail due to the actual definition not matching the implicit one the compiler creates. This patch adds explicit definitions alongside the other forward function definitions for the functions which cause compilation to fail. [updated: initial commit had the file in the wrong location] Signed-off-by: Al Sutton --- distrib/jpeg-6b/jdphuff.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distrib/jpeg-6b/jdphuff.c b/distrib/jpeg-6b/jdphuff.c index 922017e..cccfdd9 100644 --- a/distrib/jpeg-6b/jdphuff.c +++ b/distrib/jpeg-6b/jdphuff.c @@ -82,6 +82,10 @@ METHODDEF(boolean) decode_mcu_DC_refine JPP((j_decompress_ptr cinfo, JBLOCKROW *MCU_data)); METHODDEF(boolean) decode_mcu_AC_refine JPP((j_decompress_ptr cinfo, JBLOCKROW *MCU_data)); +GLOBAL(void) jpeg_configure_huffman_decoder_progressive( + j_decompress_ptr cinfo, huffman_offset_data offset); +GLOBAL(void) jpeg_get_huffman_decoder_configuration_progressive( + j_decompress_ptr cinfo, huffman_offset_data *offset); /* * Initialize for a Huffman-compressed scan. -- cgit v1.1