From 79969f41a7caf9a503a04b78653db971918afa26 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 7 Jul 2021 15:01:20 +0530 Subject: _int_realloc is static _int_realloc is correctly declared at the top to be static, but incorrectly defined without the static keyword. Fix that. The generated binaries have identical code. --- malloc/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'malloc') diff --git a/malloc/malloc.c b/malloc/malloc.c index a3525f7..0253453 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -4822,8 +4822,8 @@ static void malloc_consolidate(mstate av) ------------------------------ realloc ------------------------------ */ -void* -_int_realloc(mstate av, mchunkptr oldp, INTERNAL_SIZE_T oldsize, +static void * +_int_realloc (mstate av, mchunkptr oldp, INTERNAL_SIZE_T oldsize, INTERNAL_SIZE_T nb) { mchunkptr newp; /* chunk to return */ -- cgit v1.1