summaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp')
-rw-r--r--src/vpp/api/api.c2
-rw-r--r--src/vpp/stats/stat_segment.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/vpp/api/api.c b/src/vpp/api/api.c
index 25dcc03c39d..6007b723ceb 100644
--- a/src/vpp/api/api.c
+++ b/src/vpp/api/api.c
@@ -581,7 +581,7 @@ static void vl_api_##nn##_t_handler ( \
svm_queue_t * q; \
\
/* One registration only... */ \
- pool_foreach(reg, vam->nn##_registrations, \
+ pool_foreach (reg, vam->nn##_registrations) \
({ \
q = vl_api_client_index_to_input_queue (reg->client_index); \
if (q) { \
diff --git a/src/vpp/stats/stat_segment.c b/src/vpp/stats/stat_segment.c
index 0b5ea3048d5..43a48707f1c 100644
--- a/src/vpp/stats/stat_segment.c
+++ b/src/vpp/stats/stat_segment.c
@@ -667,10 +667,10 @@ do_stat_segment_updates (stat_segment_main_t * sm)
/* *INDENT-OFF* */
stat_segment_gauges_pool_t *g;
- pool_foreach(g, sm->gauges,
- ({
+ pool_foreach (g, sm->gauges)
+ {
g->fn(&sm->directory_vector[g->directory_index], g->caller_index);
- }));
+ }
/* *INDENT-ON* */
/* Heartbeat, so clients detect we're still here */