u32 *tp = 0;
u32 *junk;
+ clib_mem_init (0, 64ULL << 20);
+
for (i = 0; i < 70; i++)
{
pool_get (tp, junk);
}
while (next != ~0);
- /* *INDENT-OFF* */
- pool_foreach (junk, tp,
- ({
+ pool_foreach (junk, tp)
+ {
int is_free;
is_free = pool_is_free_index (tp, junk - tp);
if (i != 1 && i != 65)
clib_warning ("oops, busy index %d reported free", i);
}
- }));
- /* *INDENT-ON* */
+ }
return 0;
}