From: Siddhesh Poyarekar Date: Wed, 7 Jul 2021 09:31:20 +0000 (+0530) Subject: _int_realloc is static X-Git-Tag: upstream/2.34~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79969f41a7caf9a503a04b78653db971918afa26;p=platform%2Fupstream%2Fglibc.git _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. --- 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 */