The Independent JPEG Group's JPEG software v6a
diff --git a/cjpeg.c b/cjpeg.c
index 3fbb276..194d93b 100644
--- a/cjpeg.c
+++ b/cjpeg.c
@@ -1,7 +1,7 @@
/*
* cjpeg.c
*
- * Copyright (C) 1991-1995, Thomas G. Lane.
+ * Copyright (C) 1991-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -28,7 +28,8 @@
#ifdef USE_CCOMMAND /* command-line reader for Macintosh */
#ifdef __MWERKS__
-#include <SIOUX.h> /* Metrowerks declares it here */
+#include <SIOUX.h> /* Metrowerks needs this */
+#include <console.h> /* ... and this */
#endif
#ifdef THINK_C
#include <console.h> /* Think declares it here */
@@ -75,7 +76,7 @@
static boolean is_targa; /* records user -targa switch */
-LOCAL cjpeg_source_ptr
+LOCAL(cjpeg_source_ptr)
select_file_type (j_compress_ptr cinfo, FILE * infile)
{
int c;
@@ -136,7 +137,7 @@
static char * outfilename; /* for -outfile switch */
-LOCAL void
+LOCAL(void)
usage (void)
/* complain about bad command line */
{
@@ -194,7 +195,7 @@
}
-LOCAL int
+LOCAL(int)
parse_switches (j_compress_ptr cinfo, int argc, char **argv,
int last_file_arg_seen, boolean for_real)
/* Parse optional switches.
@@ -456,7 +457,7 @@
* The main program.
*/
-GLOBAL int
+int
main (int argc, char **argv)
{
struct jpeg_compress_struct cinfo;