The Independent JPEG Group's JPEG software v6a
diff --git a/cdjpeg.c b/cdjpeg.c
index 5157cb1..a3d6e06 100644
--- a/cdjpeg.c
+++ b/cdjpeg.c
@@ -1,7 +1,7 @@
/*
* cdjpeg.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.
*
@@ -31,7 +31,7 @@
static j_common_ptr sig_cinfo;
-GLOBAL void /* must be global for Manx C */
+void /* must be global for Manx C */
signal_catcher (int signum)
{
if (sig_cinfo != NULL) {
@@ -43,7 +43,7 @@
}
-GLOBAL void
+GLOBAL(void)
enable_signal_catcher (j_common_ptr cinfo)
{
sig_cinfo = cinfo;
@@ -62,7 +62,7 @@
#ifdef PROGRESS_REPORT
-METHODDEF void
+METHODDEF(void)
progress_monitor (j_common_ptr cinfo)
{
cd_progress_ptr prog = (cd_progress_ptr) cinfo->progress;
@@ -83,7 +83,7 @@
}
-GLOBAL void
+GLOBAL(void)
start_progress_monitor (j_common_ptr cinfo, cd_progress_ptr progress)
{
/* Enable progress display, unless trace output is on */
@@ -97,7 +97,7 @@
}
-GLOBAL void
+GLOBAL(void)
end_progress_monitor (j_common_ptr cinfo)
{
/* Clear away progress display */
@@ -116,7 +116,7 @@
* minchars is length of minimum legal abbreviation.
*/
-GLOBAL boolean
+GLOBAL(boolean)
keymatch (char * arg, const char * keyword, int minchars)
{
register int ca, ck;
@@ -143,7 +143,7 @@
* Non-Unix systems often require some hacking to get out of text mode.
*/
-GLOBAL FILE *
+GLOBAL(FILE *)
read_stdin (void)
{
FILE * input_file = stdin;
@@ -161,7 +161,7 @@
}
-GLOBAL FILE *
+GLOBAL(FILE *)
write_stdout (void)
{
FILE * output_file = stdout;