summaryrefslogtreecommitdiffstats
path: root/pathd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-21 06:33:45 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-17 06:18:17 +0100
commit8451921b70044a2c1075e7ba391f095fabee2550 (patch)
treeb624fd822ce8e1c74840796b3c91a3a747b9e9ba /pathd
parent*: require semicolon after DEFINE_MTYPE & co (diff)
downloadfrr-8451921b70044a2c1075e7ba391f095fabee2550.tar.xz
frr-8451921b70044a2c1075e7ba391f095fabee2550.zip
*: require semicolon after DEFINE_HOOK & co.
See previous commit. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pathd')
-rw-r--r--pathd/pathd.c6
-rw-r--r--pathd/pathd.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/pathd/pathd.c b/pathd/pathd.c
index 33e69e42d..ef48c365b 100644
--- a/pathd/pathd.c
+++ b/pathd/pathd.c
@@ -35,11 +35,11 @@ DEFINE_MTYPE_STATIC(PATHD, PATH_SR_POLICY, "SR Policy");
DEFINE_MTYPE_STATIC(PATHD, PATH_SR_CANDIDATE, "SR Policy candidate path");
DEFINE_HOOK(pathd_candidate_created, (struct srte_candidate * candidate),
- (candidate))
+ (candidate));
DEFINE_HOOK(pathd_candidate_updated, (struct srte_candidate * candidate),
- (candidate))
+ (candidate));
DEFINE_HOOK(pathd_candidate_removed, (struct srte_candidate * candidate),
- (candidate))
+ (candidate));
static void trigger_pathd_candidate_created(struct srte_candidate *candidate);
static int trigger_pathd_candidate_created_timer(struct thread *thread);
diff --git a/pathd/pathd.h b/pathd/pathd.h
index 4879239db..e3d26a0ac 100644
--- a/pathd/pathd.h
+++ b/pathd/pathd.h
@@ -338,11 +338,11 @@ RB_HEAD(srte_policy_head, srte_policy);
RB_PROTOTYPE(srte_policy_head, srte_policy, entry, srte_policy_compare)
DECLARE_HOOK(pathd_candidate_created, (struct srte_candidate * candidate),
- (candidate))
+ (candidate));
DECLARE_HOOK(pathd_candidate_updated, (struct srte_candidate * candidate),
- (candidate))
+ (candidate));
DECLARE_HOOK(pathd_candidate_removed, (struct srte_candidate * candidate),
- (candidate))
+ (candidate));
extern struct srte_segment_list_head srte_segment_lists;
extern struct srte_policy_head srte_policies;