summaryrefslogtreecommitdiff
path: root/jcmainct.c
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2014-05-16 10:43:44 +0000
committerDRC <dcommander@users.sourceforge.net>2014-05-16 10:43:44 +0000
commitbc56b754e1a6a1db9ccadf64d6dda8a74140e1a3 (patch)
tree0b9fd4fd9792b427eadbe4b5b7170580b7e90e6c /jcmainct.c
parent52ded8768022ab7e9e7670ddea0ba89e2890b837 (diff)
Get rid of the HAVE_PROTOTYPES configuration option, as well as the related JMETHOD and JPP macros. libjpeg-turbo has never supported compilers that don't handle prototypes. Doing so requires ansi2knr, which isn't even supported in the IJG code anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1308 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jcmainct.c')
-rw-r--r--jcmainct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/jcmainct.c b/jcmainct.c
index 5a0549a..62f13c9 100644
--- a/jcmainct.c
+++ b/jcmainct.c
@@ -52,12 +52,12 @@ typedef my_main_controller * my_main_ptr;
/* Forward declarations */
METHODDEF(void) process_data_simple_main
- JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
- JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail));
+ (j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
+ JDIMENSION in_rows_avail);
#ifdef FULL_MAIN_BUFFER_SUPPORTED
METHODDEF(void) process_data_buffer_main
- JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
- JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail));
+ (j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
+ JDIMENSION in_rows_avail);
#endif