From f0ca1e8d92114582ec9142bd15a40f1eb0102793 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 13 Dec 2020 23:26:56 +0100 Subject: misc: refactor clib_bitmap_foreach macro Type: refactor Change-Id: I077110e1a422722e20aa546a6f3224c06ab0cde5 Signed-off-by: Damjan Marion --- src/vppinfra/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vppinfra/elf.c') diff --git a/src/vppinfra/elf.c b/src/vppinfra/elf.c index e32d989a602..c492b3b0795 100644 --- a/src/vppinfra/elf.c +++ b/src/vppinfra/elf.c @@ -1705,7 +1705,7 @@ layout_sections (elf_main_t * em) s_lo = s_hi = 0; /* *INDENT-OFF* */ - clib_bitmap_foreach (si, g->section_index_bitmap, ({ + clib_bitmap_foreach (si, g->section_index_bitmap) { u64 lo, hi; s = vec_elt_at_index (em->sections, si); @@ -1728,7 +1728,7 @@ layout_sections (elf_main_t * em) if (hi > s_hi) s_hi = hi; } - })); + } /* *INDENT-ON* */ if (n_sections == 0) -- cgit 1.2.3-korg