git: 2d7842d0bfb4 - main - arp/ndp: Use valid prototypes for function declarations with no arguments.
Date: Wed, 26 Apr 2023 20:19:02 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c commit 2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-26 20:18:53 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-26 20:18:53 +0000 arp/ndp: Use valid prototypes for function declarations with no arguments. --- usr.sbin/arp/arp_netlink.c | 2 +- usr.sbin/ndp/ndp_netlink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/arp/arp_netlink.c b/usr.sbin/arp/arp_netlink.c index 30df255b591b..be52ca7fa92a 100644 --- a/usr.sbin/arp/arp_netlink.c +++ b/usr.sbin/arp/arp_netlink.c @@ -91,7 +91,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); 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);