mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 19:18:43 +00:00
lib: fix nexthop_group_nexthop_num_no_recurse() is static
No need to declare 'nexthop_group_nexthop_num_no_recurse()' as external.
Fixes: 98cda54a95
("zebra: Add recursive functionality to NHE's")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
3f4c682e48
commit
66f08b3e15
@ -81,7 +81,8 @@ uint8_t nexthop_group_nexthop_num(const struct nexthop_group *nhg)
|
||||
return num;
|
||||
}
|
||||
|
||||
uint8_t nexthop_group_nexthop_num_no_recurse(const struct nexthop_group *nhg)
|
||||
static uint8_t
|
||||
nexthop_group_nexthop_num_no_recurse(const struct nexthop_group *nhg)
|
||||
{
|
||||
struct nexthop *nhop;
|
||||
uint8_t num = 0;
|
||||
|
@ -151,8 +151,6 @@ extern void nexthop_group_json_nexthop(json_object *j,
|
||||
/* Return the number of nexthops in this nhg */
|
||||
extern uint8_t nexthop_group_nexthop_num(const struct nexthop_group *nhg);
|
||||
extern uint8_t
|
||||
nexthop_group_nexthop_num_no_recurse(const struct nexthop_group *nhg);
|
||||
extern uint8_t
|
||||
nexthop_group_active_nexthop_num(const struct nexthop_group *nhg);
|
||||
|
||||
extern bool nexthop_group_has_label(const struct nexthop_group *nhg);
|
||||
|
Loading…
Reference in New Issue
Block a user