summaryrefslogtreecommitdiff
path: root/jcapimin.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 /jcapimin.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 'jcapimin.c')
-rw-r--r--jcapimin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jcapimin.c b/jcapimin.c
index 601bb71..cbd9bd2 100644
--- a/jcapimin.c
+++ b/jcapimin.c
@@ -204,7 +204,7 @@ GLOBAL(void)
jpeg_write_marker (j_compress_ptr cinfo, int marker,
const JOCTET *dataptr, unsigned int datalen)
{
- JMETHOD(void, write_marker_byte, (j_compress_ptr info, int val));
+ void (*write_marker_byte) (j_compress_ptr info, int val);
if (cinfo->next_scanline != 0 ||
(cinfo->global_state != CSTATE_SCANNING &&