From: liqingqing Date: Thu, 22 Oct 2020 06:23:14 +0000 (+0800) Subject: tst-tcfree2: adjust coding style. X-Git-Tag: glibc-2.33~340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024f873209f531322661578d3468b1f0a132640c;p=thirdparty%2Fglibc.git tst-tcfree2: adjust coding style. tst-tcfree2: adjust coding style. Reviewed-by: DJ Delorie --- diff --git a/malloc/tst-tcfree2.c b/malloc/tst-tcfree2.c index 77323a9a859..b0507965800 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