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.

This commit is contained in:
DRC
2014-05-16 10:43:44 +00:00
parent 2c0b793539
commit f8301c92dd
42 changed files with 1077 additions and 1332 deletions

View File

@@ -23,8 +23,8 @@
#include "jerror.h"
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
extern void * malloc JPP((size_t size));
extern void free JPP((void *ptr));
extern void * malloc (size_t size);
extern void free (void *ptr);
#endif