aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-04-26 20:18:53 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-04-26 20:18:53 +0000
commit2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c (patch)
treee15ba224ed5dc9964cabdf099fff5cc6902a3d47 /usr.sbin/ndp
parentd7e3b05b0de118e6940c032f0c207c452028f253 (diff)
downloadsrc-2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c.tar.gz
src-2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c.zip
arp/ndp: Use valid prototypes for function declarations with no arguments.
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/ndp_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ndp/ndp_netlink.c b/usr.sbin/ndp/ndp_netlink.c
index 163806a06047..e15dc900f0c7 100644
--- a/usr.sbin/ndp/ndp_netlink.c
+++ b/usr.sbin/ndp/ndp_netlink.c
@@ -105,7 +105,7 @@ has_l2(struct snl_state *ss, uint32_t ifindex)
}
static uint32_t
-get_myfib()
+get_myfib(void)
{
uint32_t fibnum = 0;
size_t len = sizeof(fibnum);