]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netlink: use (void) for function definitions with no arguments
authorEd Maste <emaste@FreeBSD.org>
Thu, 27 Oct 2022 14:49:51 +0000 (10:49 -0400)
committerEd Maste <emaste@FreeBSD.org>
Thu, 27 Oct 2022 15:14:00 +0000 (11:14 -0400)
commit43d0c2ddd2556841717a50925f713c9c70d3936e
treea29fbe4771aba8d8fc9d2df403f0516b27c416bd
parentae71263c6689a475f3df293475058048c0810dd7
netlink: use (void) for function definitions with no arguments

For some of these Clang produced a warning that "a function declaration
without a prototype is deprecated in all versions of C".  In other cases
the function defintion used () which did not match the header
declaration, which used (void).

Sponsored by: The FreeBSD Foundation
sys/compat/linux/linux_netlink.c
sys/netlink/netlink_domain.c
sys/netlink/netlink_generic.c
sys/netlink/route/neigh.c
sys/netlink/route/nexthop.c
sys/netlink/route/route.c