HomeFreeBSD

netlink: use (void) for function definitions with no arguments

Description

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

(cherry picked from commit 43d0c2ddd2556841717a50925f713c9c70d3936e)

Details

Provenance
emasteAuthored on Oct 27 2022, 2:49 PM
melifaroCommitted on Jan 23 2023, 10:04 PM
Parents
rG77ba029133bd: netlink: make it working without INET6
Branches
Unknown
Tags
Unknown