aboutsummaryrefslogtreecommitdiff
path: root/jmemnobs.c
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-05-16 10:43:44 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-05-16 10:43:44 +0000
commit8bbf7d138a6b6896038c07213ce632a6ccc506e3 (patch)
tree0b9fd4fd9792b427eadbe4b5b7170580b7e90e6c /jmemnobs.c
parent2af0178c4650df2f2b6dd8186ac84de275c0bf5c (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://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1308 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jmemnobs.c')
-rw-r--r--jmemnobs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jmemnobs.c b/jmemnobs.c
index 2e4de09..e81b016 100644
--- a/jmemnobs.c
+++ b/jmemnobs.c
@@ -21,8 +21,8 @@
#include "jmemsys.h" /* import the system-dependent declarations */
#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