aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib
diff options
context:
space:
mode:
authorFlorian Schmidt <florian.schmidt@neclab.eu>2017-11-14 09:01:14 +0100
committerCorinna Vinschen <corinna@vinschen.de>2017-11-14 10:18:30 +0100
commit9cf0c4a012b214504e19fb92b23d5f0f3c9da097 (patch)
treebbda19d99fa23cc4b470a530a68ed4099b7997b7 /newlib/libc/stdlib
parentb1a388799dc98e6d1451fb73aa71097cbf9f37d9 (diff)
downloadnewlib-9cf0c4a012b214504e19fb92b23d5f0f3c9da097.zip
newlib-9cf0c4a012b214504e19fb92b23d5f0f3c9da097.tar.gz
newlib-9cf0c4a012b214504e19fb92b23d5f0f3c9da097.tar.bz2
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>
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/realloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/realloc.c b/newlib/libc/stdlib/realloc.c
index 2caa6e4..0cdbdb6 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. */