aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 03bc556..607961a 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;