summaryrefslogtreecommitdiffstats
path: root/ripd
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 /ripd
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 'ripd')
-rw-r--r--ripd/rip_interface.c4
-rw-r--r--ripd/ripd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index c1cdf27bf..1ef64ff0d 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -45,8 +45,8 @@
DEFINE_MTYPE_STATIC(RIPD, RIP_INTERFACE, "RIP interface");
DEFINE_MTYPE(RIPD, RIP_INTERFACE_STRING, "RIP Interface String");
-DEFINE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc))
-DEFINE_HOOK(rip_ifaddr_del, (struct connected * ifc), (ifc))
+DEFINE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc));
+DEFINE_HOOK(rip_ifaddr_del, (struct connected * ifc), (ifc));
/* static prototypes */
static void rip_enable_apply(struct interface *);
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 97806abc8..85aac985f 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -529,7 +529,7 @@ extern struct rip_instance_head rip_instances;
/* Master thread strucutre. */
extern struct thread_master *master;
-DECLARE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc))
-DECLARE_HOOK(rip_ifaddr_del, (struct connected * ifc), (ifc))
+DECLARE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc));
+DECLARE_HOOK(rip_ifaddr_del, (struct connected * ifc), (ifc));
#endif /* _ZEBRA_RIP_H */