summaryrefslogtreecommitdiffstats
path: root/lib/libfrr.h
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 /lib/libfrr.h
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 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index 825f502bd..c1af59891 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -141,8 +141,8 @@ extern enum frr_cli_mode frr_get_cli_mode(void);
extern uint32_t frr_get_fd_limit(void);
extern bool frr_is_startup_fd(int fd);
-DECLARE_HOOK(frr_late_init, (struct thread_master * tm), (tm))
-DECLARE_HOOK(frr_very_late_init, (struct thread_master * tm), (tm))
+DECLARE_HOOK(frr_late_init, (struct thread_master * tm), (tm));
+DECLARE_HOOK(frr_very_late_init, (struct thread_master * tm), (tm));
extern void frr_config_fork(void);
extern void frr_run(struct thread_master *master);
@@ -153,10 +153,10 @@ extern bool frr_zclient_addr(struct sockaddr_storage *sa, socklen_t *sa_len,
/* these two are before the protocol daemon does its own shutdown
* it's named this way being the counterpart to frr_late_init */
-DECLARE_KOOH(frr_early_fini, (), ())
+DECLARE_KOOH(frr_early_fini, (), ());
extern void frr_early_fini(void);
/* and these two are after the daemon did its own cleanup */
-DECLARE_KOOH(frr_fini, (), ())
+DECLARE_KOOH(frr_fini, (), ());
extern void frr_fini(void);
extern char config_default[512];