From 0a2d766eb16b0ff3f28d3eb69d41016eff81f0b5 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Sun, 27 Apr 2014 20:25:55 +0200
Subject: [PATCH] malloc now uses void*, not char*

---
 src/global.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/global.h b/src/global.h
index 615872325d..d882f2f8dc 100644
--- a/src/global.h
+++ b/src/global.h
@@ -660,10 +660,10 @@ struct iovec {
 #endif
 
 #ifdef MALLOC_DECL_MISSING
-char *malloc PROT((int));
-char *realloc PROT((char *,int));
-void free PROT((char *));
-char *calloc PROT((int,int));
+void *malloc PROT((int));
+void *realloc PROT((void *,int));
+void free PROT((void *));
+void *calloc PROT((int,int));
 #endif
 
 #ifdef GETPEERNAME_DECL_MISSING
-- 
GitLab