The Independent JPEG Group's JPEG software v6a
diff --git a/jerror.c b/jerror.c
index e479fc3..8b89e39 100644
--- a/jerror.c
+++ b/jerror.c
@@ -1,7 +1,7 @@
/*
* jerror.c
*
- * Copyright (C) 1991-1994, 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.
*
@@ -57,7 +57,7 @@
* or jpeg_destroy) at some point.
*/
-METHODDEF void
+METHODDEF(void)
error_exit (j_common_ptr cinfo)
{
/* Always display the message */
@@ -76,7 +76,7 @@
* other than stderr.
*/
-METHODDEF void
+METHODDEF(void)
output_message (j_common_ptr cinfo)
{
char buffer[JMSG_LENGTH_MAX];
@@ -100,7 +100,7 @@
* or change the policy about which messages to display.
*/
-METHODDEF void
+METHODDEF(void)
emit_message (j_common_ptr cinfo, int msg_level)
{
struct jpeg_error_mgr * err = cinfo->err;
@@ -129,7 +129,7 @@
* Few applications should need to override this method.
*/
-METHODDEF void
+METHODDEF(void)
format_message (j_common_ptr cinfo, char * buffer)
{
struct jpeg_error_mgr * err = cinfo->err;
@@ -184,7 +184,7 @@
* this method if it has additional error processing state.
*/
-METHODDEF void
+METHODDEF(void)
reset_error_mgr (j_common_ptr cinfo)
{
cinfo->err->num_warnings = 0;
@@ -203,7 +203,7 @@
* after which the application may override some of the methods.
*/
-GLOBAL struct jpeg_error_mgr *
+GLOBAL(struct jpeg_error_mgr *)
jpeg_std_error (struct jpeg_error_mgr * err)
{
err->error_exit = error_exit;