diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2025-01-28 02:58:09 +0100 |
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2025-04-08 14:41:26 -0400 |
| commit | d683c4d8de15bb446247909cbe97e3cd19c2e0fb (patch) | |
| tree | e7d6e1c89ffb226107e816592e673cd14060ecf4 /lib/libfrr.c | |
| parent | 05446a2961b251ea66e442892fade4118c634a54 (diff) | |
lib: don't shadow `_once` in `frr_with_mutex`
The `_once` loop variable will result in a `-Wshadow` warning when that
is turned on. Use `__COUNTER__` to give these variables distinct names,
like is already done with `_mtx_`.
(and because I touched it, clang-format wants it reformatted... ohwell.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions
