HomeFreeBSD

Fix functions without a prototype

Description

Fix functions without a prototype

clang-15 emits the following error message for functions without
a prototype:

fs/zfs/os/linux/spl/spl-kmem-cache.c:1423:27: error:

  a function declaration without a prototype is deprecated
  in all versions of C [-Werror,-Wstrict-prototypes]

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Aidan Harris <me@aidanharr.is>
Closes #13421

Details

Provenance
Aidan Harris <me@aidanharr.is>Authored on May 6 2022, 6:57 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 20 2022, 5:33 PM
Parents
rG2c5c8bb0a62e: FreeBSD: use zero_region instead of allocating a dedicated page
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGeee389ba2e8c: Fix functions without a prototype (authored by Aidan Harris <me@aidanharr.is>).May 20 2022, 5:33 PM