misc: move to new pool_foreach macros
[vpp.git] / src / plugins / perfmon / perfmon.c
index 525a864..28d2f45 100644 (file)
@@ -553,10 +553,10 @@ show_pmc_command_fn (vlib_main_t * vm,
     }
 
   /* *INDENT-OFF* */
-  pool_foreach (c, pm->capture_pool,
-  ({
+  pool_foreach (c, pm->capture_pool)
+   {
     vec_add1 (captures, *c);
-  }));
+  }
   /* *INDENT-ON* */
 
   vec_sort_with_function (captures, capture_name_sort);