aboutsummaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorThomas G. Lane <tgl@netcom.com>1996-02-07 00:00:00 +0000
committerDRC <information@libjpeg-turbo.org>2015-07-29 15:32:35 -0500
commit489583f5165e05d37302e8eeec58104ea0109127 (patch)
treeaf025016f71386106390afe4db314878cd42c6b5 /example.c
parentbc79e0680a45d1ca330d690dae0340c8e17ab5e3 (diff)
downloadlibjpeg-turbo-489583f5165e05d37302e8eeec58104ea0109127.tar.gz
The Independent JPEG Group's JPEG software v6a
Diffstat (limited to 'example.c')
-rw-r--r--example.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/example.c b/example.c
index 4fce47d7..7fc354f0 100644
--- a/example.c
+++ b/example.c
@@ -68,7 +68,7 @@ extern int image_width; /* Number of columns in image */
* and a compression quality factor are passed in.
*/
-GLOBAL void
+GLOBAL(void)
write_JPEG_file (char * filename, int quality)
{
/* This struct contains the JPEG compression parameters and pointers to
@@ -259,7 +259,7 @@ typedef struct my_error_mgr * my_error_ptr;
* Here's the routine that will replace the standard error_exit method:
*/
-METHODDEF void
+METHODDEF(void)
my_error_exit (j_common_ptr cinfo)
{
/* cinfo->err really points to a my_error_mgr struct, so coerce pointer */
@@ -280,7 +280,7 @@ my_error_exit (j_common_ptr cinfo)
*/
-GLOBAL int
+GLOBAL(int)
read_JPEG_file (char * filename)
{
/* This struct contains the JPEG decompression parameters and pointers to