mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
tst-tcfree2: adjust coding style.
tst-tcfree2: adjust coding style. Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
parent
5e598c2bbf
commit
024f873209
@ -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<COUNT; i++)
|
||||
for (i = 0; i < COUNT; i++)
|
||||
ptrs[i] = malloc (20);
|
||||
for (i=0; i<COUNT; i++)
|
||||
for (i = 0; i < COUNT; i++)
|
||||
free (ptrs[i]);
|
||||
free (ptrs[0]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user