summaryrefslogtreecommitdiffstats
path: root/lib/thread.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/thread.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/thread.c')
-rw-r--r--lib/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c
index e5826c5e5..866090341 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -43,7 +43,7 @@ DEFINE_MTYPE_STATIC(LIB, THREAD_MASTER, "Thread master");
DEFINE_MTYPE_STATIC(LIB, THREAD_POLL, "Thread Poll Info");
DEFINE_MTYPE_STATIC(LIB, THREAD_STATS, "Thread stats");
-DECLARE_LIST(thread_list, struct thread, threaditem)
+DECLARE_LIST(thread_list, struct thread, threaditem);
struct cancel_req {
int flags;
@@ -68,7 +68,7 @@ static int thread_timer_cmp(const struct thread *a, const struct thread *b)
return 0;
}
-DECLARE_HEAP(thread_timer_list, struct thread, timeritem, thread_timer_cmp)
+DECLARE_HEAP(thread_timer_list, struct thread, timeritem, thread_timer_cmp);
#if defined(__APPLE__)
#include <mach/mach.h>