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

Details

Provenance
emasteAuthored on Oct 27 2022, 2:49 PM
Parents
rGae71263c6689: bhyve: Remove an unused parameter from pci_nvme_append_iov_req()
Branches
Unknown
Tags
Unknown