summaryrefslogtreecommitdiffstats
path: root/lib/frrcu.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-21 06:54:16 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-17 06:18:39 +0100
commit960b9a53837d1aefa16bd531c7087f800dbe147b (patch)
tree0b007330e6ed75d4e8674063a360b646d895d282 /lib/frrcu.c
parent*: require semicolon after DEFINE_QOBJ & co. (diff)
downloadfrr-960b9a53837d1aefa16bd531c7087f800dbe147b.tar.xz
frr-960b9a53837d1aefa16bd531c7087f800dbe147b.zip
*: require semicolon after DEFINE_<typesafe...>
Again, see previous commits. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/frrcu.c')
-rw-r--r--lib/frrcu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/frrcu.c b/lib/frrcu.c
index c6c19bd56..0e717a98a 100644
--- a/lib/frrcu.c
+++ b/lib/frrcu.c
@@ -57,9 +57,9 @@
DEFINE_MTYPE_STATIC(LIB, RCU_THREAD, "RCU thread");
DEFINE_MTYPE_STATIC(LIB, RCU_NEXT, "RCU sequence barrier");
-DECLARE_ATOMLIST(rcu_heads, struct rcu_head, head)
+DECLARE_ATOMLIST(rcu_heads, struct rcu_head, head);
-PREDECL_ATOMLIST(rcu_threads)
+PREDECL_ATOMLIST(rcu_threads);
struct rcu_thread {
struct rcu_threads_item head;
@@ -70,7 +70,7 @@ struct rcu_thread {
/* only accessed by thread itself, not atomic */
unsigned depth;
};
-DECLARE_ATOMLIST(rcu_threads, struct rcu_thread, head)
+DECLARE_ATOMLIST(rcu_threads, struct rcu_thread, head);
static const struct rcu_action rcua_next = { .type = RCUA_NEXT };
static const struct rcu_action rcua_end = { .type = RCUA_END };