--- squeak-3814/platforms/Cross/plugins/JPEGReadWriter2Plugin/jmemdatasrc.c Fri Oct 5 02:00:00 2018 +++ p0/squeak-3814/platforms/Cross/plugins/JPEGReadWriter2Plugin/jmemdatasrc.c Fri Dec 31 08:00:14 2021 @@ -151,13 +151,12 @@ /* no work necessary here */ } -#if !defined(USE_LIBRARY_SHARED) /* * Prepare for input from a stdio stream. * The caller must have already opened the stream, and is responsible * for closing it after finishing decompression. */ -GLOBAL(void) jpeg_mem_src (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize) { +GLOBAL(void) sqJpeg_mem_src (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize) { my_src_ptr src; /* The source object and input buffer are made permanent so that a series @@ -189,10 +188,9 @@ src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ src->pub.next_input_byte = NULL; /* until buffer loaded */ } -#endif /* This function allows data to be moved if necessary */ -GLOBAL(int) jpeg_mem_src_newLocationOfData (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize) { +GLOBAL(int) sqJpeg_mem_src_newLocationOfData (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize) { my_src_ptr src; unsigned offset;