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 /bgpd/bgpd.h | |
parent | *: require semicolon after DEFINE_MTYPE & co (diff) | |
download | frr-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 'bgpd/bgpd.h')
-rw-r--r-- | bgpd/bgpd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 3f5ec0779..a9ee7666d 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -714,10 +714,10 @@ struct bgp { }; DECLARE_QOBJ_TYPE(bgp) -DECLARE_HOOK(bgp_inst_delete, (struct bgp *bgp), (bgp)) +DECLARE_HOOK(bgp_inst_delete, (struct bgp *bgp), (bgp)); DECLARE_HOOK(bgp_inst_config_write, (struct bgp *bgp, struct vty *vty), - (bgp, vty)) + (bgp, vty)); /* Thread callback information */ struct afi_safi_info { @@ -2364,17 +2364,17 @@ extern int bgp_lookup_by_as_name_type(struct bgp **bgp_val, as_t *as, /* Hooks */ DECLARE_HOOK(bgp_vrf_status_changed, (struct bgp *bgp, struct interface *ifp), - (bgp, ifp)) -DECLARE_HOOK(peer_status_changed, (struct peer *peer), (peer)) -DECLARE_HOOK(bgp_snmp_init_stats, (struct bgp *bgp), (bgp)) -DECLARE_HOOK(bgp_snmp_update_last_changed, (struct bgp *bgp), (bgp)) + (bgp, ifp)); +DECLARE_HOOK(peer_status_changed, (struct peer *peer), (peer)); +DECLARE_HOOK(bgp_snmp_init_stats, (struct bgp *bgp), (bgp)); +DECLARE_HOOK(bgp_snmp_update_last_changed, (struct bgp *bgp), (bgp)); DECLARE_HOOK(bgp_snmp_update_stats, (struct bgp_node *rn, struct bgp_path_info *pi, bool added), - (rn, pi, added)) + (rn, pi, added)); DECLARE_HOOK(bgp_rpki_prefix_status, (struct peer * peer, struct attr *attr, const struct prefix *prefix), - (peer, attr, prefix)) + (peer, attr, prefix)); void peer_nsf_stop(struct peer *peer); |