summaryrefslogtreecommitdiff
path: root/ripngd/ripngd.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-07-17 17:09:51 -0400
committerMark Stapp <mjs@voltanet.io>2020-10-23 12:16:52 -0400
commit5047884528ec263215504cb5df12ebd2422cc392 (patch)
tree952121f1a904ef9c86c1f7336a3aae757eeb3434 /ripngd/ripngd.h
parentb3d6bc6ef0140a194b4bc2993a6aba72ab5d54c9 (diff)
*: unify thread/event cancel macros
Replace all lib/thread cancel macros, use thread_cancel() everywhere. Only the THREAD_OFF macro and thread_cancel() api are supported. Also adjust thread_cancel_async() to NULL caller's pointer (if present). Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'ripngd/ripngd.h')
-rw-r--r--ripngd/ripngd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 97291829bd..a42c32ebb7 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -351,7 +351,7 @@ enum ripng_event {
/* RIPng timer on/off macro. */
#define RIPNG_TIMER_ON(T,F,V) thread_add_timer (master, (F), rinfo, (V), &(T))
-#define RIPNG_TIMER_OFF(T) thread_cancel(&(T));
+#define RIPNG_TIMER_OFF(T) thread_cancel(&(T))
#define RIPNG_OFFSET_LIST_IN 0
#define RIPNG_OFFSET_LIST_OUT 1