]> git.proxmox.com Git - mirror_frr.git/commit
zebra: avoid an atomic builtin that clang doesn't like
authorMark Stapp <mjs@voltanet.io>
Fri, 12 Jun 2020 20:31:22 +0000 (16:31 -0400)
committerMark Stapp <mjs@voltanet.io>
Fri, 12 Jun 2020 20:31:22 +0000 (16:31 -0400)
commite3d9208a099919ccc81671f5138eaf74ce629d26
tree0f0699379b186f09b736cfe0c51f1464e84b69f8
parentf8e30433f6fb130d17cf43efb693a04e3399a9e8
zebra: avoid an atomic builtin that clang doesn't like

We had special-cased use of atomic_add_fetch, because clang just
does not like that builtin. Just use atomic_fetch_add instead.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_dplane.c