diff options
| author | David Lamparter <equinox@diac24.net> | 2021-02-21 06:33:45 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-03-17 06:18:17 +0100 | 
| commit | 8451921b70044a2c1075e7ba391f095fabee2550 (patch) | |
| tree | b624fd822ce8e1c74840796b3c91a3a747b9e9ba /ldpd | |
| parent | bf8d3d6aca3f20255a621ed1c148fd05b3a8ae5c (diff) | |
*: require semicolon after DEFINE_HOOK & co.
See previous commit.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ldpd')
| -rw-r--r-- | ldpd/ldpd.c | 2 | ||||
| -rw-r--r-- | ldpd/ldpd.h | 2 | ||||
| -rw-r--r-- | ldpd/ldpe.h | 3 | ||||
| -rw-r--r-- | ldpd/neighbor.c | 3 | 
4 files changed, 6 insertions, 4 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index 14235a0f1f..2ee2dc12fa 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -88,7 +88,7 @@ static pid_t		 lde_pid;  static struct frr_daemon_info ldpd_di; -DEFINE_HOOK(ldp_register_mib, (struct thread_master * tm), (tm)) +DEFINE_HOOK(ldp_register_mib, (struct thread_master * tm), (tm));  static void ldp_load_module(const char *name)  { diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index 73c81349ce..dd29c68f50 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -915,7 +915,7 @@ int		 ldp_zebra_send_rlfa_labels(struct zapi_rlfa_response *  	(__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_INTFACELOCAL))  #endif -DECLARE_HOOK(ldp_register_mib, (struct thread_master * tm), (tm)) +DECLARE_HOOK(ldp_register_mib, (struct thread_master * tm), (tm));  extern void ldp_agentx_enabled(void); diff --git a/ldpd/ldpe.h b/ldpd/ldpe.h index 9572f1ac12..880722424e 100644 --- a/ldpd/ldpe.h +++ b/ldpd/ldpe.h @@ -321,6 +321,7 @@ void	ldpe_l2vpn_exit(struct l2vpn *);  void	ldpe_l2vpn_pw_init(struct l2vpn_pw *);  void	ldpe_l2vpn_pw_exit(struct l2vpn_pw *); -DECLARE_HOOK(ldp_nbr_state_change, (struct nbr * nbr, int old_state), (nbr, old_state)) +DECLARE_HOOK(ldp_nbr_state_change, (struct nbr * nbr, int old_state), +	     (nbr, old_state));  #endif	/* _LDPE_H_ */ diff --git a/ldpd/neighbor.c b/ldpd/neighbor.c index 23c67ec1ca..e884b3ebfc 100644 --- a/ldpd/neighbor.c +++ b/ldpd/neighbor.c @@ -26,7 +26,8 @@  #include "lde.h"  #include "log.h" -DEFINE_HOOK(ldp_nbr_state_change, (struct nbr * nbr, int old_state), (nbr, old_state)) +DEFINE_HOOK(ldp_nbr_state_change, (struct nbr * nbr, int old_state), +	    (nbr, old_state));  static __inline int	 nbr_id_compare(const struct nbr *, const struct nbr *);  static __inline int	 nbr_addr_compare(const struct nbr *,  | 
