mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
_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.
This commit is contained in:
@ -4822,8 +4822,8 @@ static void malloc_consolidate(mstate av)
|
|||||||
------------------------------ realloc ------------------------------
|
------------------------------ realloc ------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void*
|
static void *
|
||||||
_int_realloc(mstate av, mchunkptr oldp, INTERNAL_SIZE_T oldsize,
|
_int_realloc (mstate av, mchunkptr oldp, INTERNAL_SIZE_T oldsize,
|
||||||
INTERNAL_SIZE_T nb)
|
INTERNAL_SIZE_T nb)
|
||||||
{
|
{
|
||||||
mchunkptr newp; /* chunk to return */
|
mchunkptr newp; /* chunk to return */
|
||||||
|
Reference in New Issue
Block a user