diff options
author | Thomas G. Lane <tgl@netcom.com> | 1996-02-07 00:00:00 +0000 |
---|---|---|
committer | DRC <information@libjpeg-turbo.org> | 2015-07-29 15:32:35 -0500 |
commit | 489583f5165e05d37302e8eeec58104ea0109127 (patch) | |
tree | af025016f71386106390afe4db314878cd42c6b5 /example.c | |
parent | bc79e0680a45d1ca330d690dae0340c8e17ab5e3 (diff) | |
download | libjpeg-turbo-489583f5165e05d37302e8eeec58104ea0109127.tar.gz |
The Independent JPEG Group's JPEG software v6a
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |