HomeFreeBSD

kboot: Use (void) instead of () for functiosn with no args

Description

kboot: Use (void) instead of () for functiosn with no args

int foo(); means 'a function that takes any number of arguments.`
not a function that takes no arguemnts, that's spelled int foo(void);
Adopt the latter.

Sponsored by: Netflix

(cherry picked from commit e830a6cbbe8e7ab359e871b0ba95b9b025c0ffcc)

Details

Provenance
impAuthored on Dec 9 2022, 2:55 PM
Parents
rGb5f753c82a11: kboot: Allow loading fdt from different sources
Branches
Unknown
Tags
Unknown