From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2130) id C23023851C25; Fri, 30 Oct 2020 18:53:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C23023851C25 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: DJ Delorie To: glibc-cvs@sourceware.org Subject: [glibc] tst-tcfree2: adjust coding style. X-Act-Checkin: glibc X-Git-Author: liqingqing X-Git-Refname: refs/heads/master X-Git-Oldrev: 5e598c2bbf938eac0f4045f5143f9dd723646672 X-Git-Newrev: 024f873209f531322661578d3468b1f0a132640c Message-Id: <20201030185322.C23023851C25@sourceware.org> Date: Fri, 30 Oct 2020 18:53:22 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2020 18:53:22 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=024f873209f531322661578d3468b1f0a132640c commit 024f873209f531322661578d3468b1f0a132640c Author: liqingqing Date: Thu Oct 22 14:23:14 2020 +0800 tst-tcfree2: adjust coding style. tst-tcfree2: adjust coding style. Reviewed-by: DJ Delorie Diff: --- malloc/tst-tcfree2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/malloc/tst-tcfree2.c b/malloc/tst-tcfree2.c index 77323a9a85..b050796580 100644 --- a/malloc/tst-tcfree2.c +++ b/malloc/tst-tcfree2.c @@ -27,15 +27,15 @@ static int do_test (void) { - char * volatile ptrs[20]; +#define COUNT 20 + char * volatile ptrs[COUNT]; int i; /* Allocate enough small chunks so that when we free them all, the tcache is full, and the first one we freed is at the end of its linked list. */ -#define COUNT 20 - for (i=0; i