HomeFreeBSD

Linux 6.8 compat: make test functions static

Description

Linux 6.8 compat: make test functions static

The kernel is now being compiled with -Wmissing-prototypes. Most of our
test stub functions had no prototype, and failed to compile. Since they
don't need to be visible anywhere else, just make them all static.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #15805
(cherry picked from commit 64afc4e66edf6a740f1c7ab808a452e42d964eb7)

Details

Provenance
rob.norris_klarasystems.comAuthored on Jan 22 2024, 11:50 PM
Tony Hutter <hutter2@llnl.gov>Committed on Feb 8 2024, 9:29 PM
Parents
rG71d407cc394d: Linux 6.7 compat: zfs_setattr fix atime update
Branches
Unknown
Tags
Unknown