--- Makefile.orig Thu Jun 19 23:09:39 1997 +++ Makefile Fri Nov 1 13:18:41 1996 @@ -25,10 +25,10 @@ # Editing of the rest of this Makefile shouldn't be necessary. -CFLAGS= -Ijpeglib $(CCOPTS) $(OPTIONS) -DMETHODDEF=static +CFLAGS= -Ijpeglib $(CCOPTS) $(OPTIONS) LIBS= -lvga jpeglib/libjpeg.a -lm -SHCFLAGS= -I$(GRHEADERS) $(CCOPTS) $(OPTIONS) -DMETHODDEF=static +SHCFLAGS= -I$(GRHEADERS) $(CCOPTS) $(OPTIONS) SHLIBS= -lvga -ljpeg -lm SHLDOPTS= -s -N --- image.c.orig Thu Jun 19 23:13:06 1997 +++ image.c Thu Jun 19 23:15:39 1997 @@ -17,12 +17,13 @@ #endif /* lint */ #include "seejpeg.h" +#define EXTERN extern #include #include -GLOBAL int +extern int read_image_file(char * filename) { struct jpeg_compress_struct cinfo; --- jpeg.c.orig Thu Jun 19 23:10:15 1997 +++ jpeg.c Thu Jun 19 23:12:15 1997 @@ -57,7 +57,7 @@ * Here's the routine that will replace the standard error_exit method: */ -METHODDEF void +static void my_error_exit (j_common_ptr cinfo) { /* cinfo->err really points to a my_error_mgr struct, so coerce pointer */ @@ -78,7 +78,7 @@ */ -GLOBAL int +extern int read_JPEG_file (char * filename) { /* This struct contains the JPEG decompression parameters and pointers to