summaryrefslogtreecommitdiffstats
path: root/ldpd
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-10-26 13:40:48 +0200
committerDonald Sharp <donaldsharp72@gmail.com>2022-10-26 13:40:48 +0200
commit3ca6d7300ba9b31b00a616d6e127feb3a3febce1 (patch)
tree5ffc28884174de390bdf9fe4d45ba0532c6180d4 /ldpd
parentpimd: Make pimd happy with clang-16 (diff)
downloadfrr-3ca6d7300ba9b31b00a616d6e127feb3a3febce1.tar.xz
frr-3ca6d7300ba9b31b00a616d6e127feb3a3febce1.zip
ldpd: Make ldpd happy with clang-16
Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/neighbor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldpd/neighbor.c b/ldpd/neighbor.c
index e1db9e8e1..6d6c7d00c 100644
--- a/ldpd/neighbor.c
+++ b/ldpd/neighbor.c
@@ -359,8 +359,7 @@ nbr_find_ldpid(uint32_t lsr_id)
return (RB_FIND(nbr_id_head, &nbrs_by_id, &n));
}
-struct nbr *
-nbr_get_first_ldpid()
+struct nbr *nbr_get_first_ldpid(void)
{
return (RB_MIN(nbr_id_head, &nbrs_by_id));
}