mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
2c5c8bb0a6
commit
eee389ba2e
@@ -1421,7 +1421,7 @@ EXPORT_SYMBOL(spl_kmem_cache_reap_now);
|
||||
* it should do no harm.
|
||||
*/
|
||||
int
|
||||
spl_kmem_cache_reap_active()
|
||||
spl_kmem_cache_reap_active(void)
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user