Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: move to new pool_foreach macros
[vpp.git]
/
src
/
plugins
/
mactime
/
mactime_top.c
diff --git
a/src/plugins/mactime/mactime_top.c
b/src/plugins/mactime/mactime_top.c
index
473cc5b
..
72d1964
100644
(file)
--- a/
src/plugins/mactime/mactime_top.c
+++ b/
src/plugins/mactime/mactime_top.c
@@
-196,10
+196,10
@@
scrape_stats_segment (mt_main_t * mm)
vec_reset_length (pool_indices);
/* *INDENT-OFF* */
vec_reset_length (pool_indices);
/* *INDENT-OFF* */
- pool_foreach (dev, mm->devices
,
-
(
{
+ pool_foreach (dev, mm->devices
)
+
{
vec_add1 (pool_indices, dev->pool_index);
vec_add1 (pool_indices, dev->pool_index);
- }
));
+ }
/* *INDENT-ON* */
/* Nothing to do... */
/* *INDENT-ON* */
/* Nothing to do... */
@@
-445,10
+445,10
@@
print_device_table (mt_main_t * mm)
fformat (stdout, "%U", format_device, 0 /* header */ , 0 /* verbose */ );
/* *INDENT-OFF* */
fformat (stdout, "%U", format_device, 0 /* header */ , 0 /* verbose */ );
/* *INDENT-OFF* */
- pool_foreach (dev, mm->devices
,
-
(
{
+ pool_foreach (dev, mm->devices
)
+
{
fformat (stdout, "%U", format_device, dev, 0 /* verbose */);
fformat (stdout, "%U", format_device, dev, 0 /* verbose */);
- }
));
+ }
/* *INDENT-ON* */
}
/* *INDENT-ON* */
}