1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/mprof/files/patch-malloc.c
Alexey Dokuchaev a642acc639 Fix the build with GCC 4.2 and thus unbreak.
Reported by:	pointyhat (logs)
2007-06-18 19:48:01 +00:00

12 lines
274 B
C

--- malloc.c.orig Wed Apr 21 04:36:17 1993
+++ malloc.c Tue Jun 19 02:43:44 2007
@@ -261,6 +261,8 @@
*/
int realloc_srchlen = 4; /* 4 should be plenty, -1 =>'s whole list */
+static findbucket(union overhead *, int srchlen);
+
char *
realloc(cp, nbytes)
char *cp;