summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nexthop_group.c3
-rw-r--r--lib/nexthop_group.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/nexthop_group.c b/lib/nexthop_group.c
index 9abd3139fd..d1fd526d6e 100644
--- a/lib/nexthop_group.c
+++ b/lib/nexthop_group.c
@@ -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;
diff --git a/lib/nexthop_group.h b/lib/nexthop_group.h
index 88f9c62ccb..822a35439c 100644
--- a/lib/nexthop_group.h
+++ b/lib/nexthop_group.h
@@ -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);