diff options
author | Florian Schmidt <florian.schmidt@neclab.eu> | 2017-11-14 09:01:14 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-11-14 10:18:30 +0100 |
commit | 9cf0c4a012b214504e19fb92b23d5f0f3c9da097 (patch) | |
tree | bbda19d99fa23cc4b470a530a68ed4099b7997b7 | |
parent | b1a388799dc98e6d1451fb73aa71097cbf9f37d9 (diff) | |
download | cygnal-9cf0c4a012b214504e19fb92b23d5f0f3c9da097.tar.gz cygnal-9cf0c4a012b214504e19fb92b23d5f0f3c9da097.tar.bz2 cygnal-9cf0c4a012b214504e19fb92b23d5f0f3c9da097.zip |
newlib/libc/stdlib/realloc.c: fix variable name
The variable doesn't follow the convention of having the same name as
the function it's bundled with. Furthermore, it clashes with the
variable of the same name in newlib/libc/stdlib/calloc.c.
Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
-rw-r--r-- | newlib/libc/stdlib/realloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/realloc.c b/newlib/libc/stdlib/realloc.c index 2caa6e4d2..0cdbdb619 100644 --- a/newlib/libc/stdlib/realloc.c +++ b/newlib/libc/stdlib/realloc.c @@ -1,5 +1,5 @@ #ifdef MALLOC_PROVIDED -int _dummy_calloc = 1; +int _dummy_realloc = 1; #else /* realloc.c -- a wrapper for realloc_r. */ |