]> sourceware.org Git - newlib-cygwin.git/commitdiff
newlib/libc/stdlib/realloc.c: fix variable name
authorFlorian Schmidt <florian.schmidt@neclab.eu>
Tue, 14 Nov 2017 08:01:14 +0000 (09:01 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Nov 2017 09:18:30 +0000 (10:18 +0100)
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>
newlib/libc/stdlib/realloc.c

index 2caa6e4d248f2f815ef4363a41a11ac368436dd7..0cdbdb6197598bff75d4a0d9228d0cfcb8f51ef8 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef MALLOC_PROVIDED
-int _dummy_calloc = 1;
+int _dummy_realloc = 1;
 #else
 /* realloc.c -- a wrapper for realloc_r.  */
 
This page took 0.032365 seconds and 5 git commands to generate.