aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 03bc5569b9..607961a9c6 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -4247,7 +4247,12 @@ mem2chunk_check(mem) Void_t* mem;
necessary. */
static int
+#if __STD_C
+top_check(void)
+#else
+static int
top_check()
+#endif
{
mchunkptr t = top(&main_arena);
char* brk, * new_brk;