From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40915 invoked by alias); 14 Nov 2017 09:18:43 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 40872 invoked by uid 9078); 14 Nov 2017 09:18:43 -0000 Date: Tue, 14 Nov 2017 09:18:00 -0000 Message-ID: <20171114091843.40870.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib/libc/stdlib/realloc.c: fix variable name X-Act-Checkin: newlib-cygwin X-Git-Author: Florian Schmidt X-Git-Refname: refs/heads/master X-Git-Oldrev: b1a388799dc98e6d1451fb73aa71097cbf9f37d9 X-Git-Newrev: 9cf0c4a012b214504e19fb92b23d5f0f3c9da097 X-SW-Source: 2017-q4/txt/msg00017.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9cf0c4a012b214504e19fb92b23d5f0f3c9da097 commit 9cf0c4a012b214504e19fb92b23d5f0f3c9da097 Author: Florian Schmidt Date: Tue Nov 14 09:01:14 2017 +0100 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 Diff: --- newlib/libc/stdlib/realloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */