]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix functions without a prototype
authorAidan Harris <me@aidanharr.is>
Fri, 6 May 2022 18:57:37 +0000 (18:57 +0000)
committerGitHub <noreply@github.com>
Fri, 6 May 2022 18:57:37 +0000 (11:57 -0700)
commit493b6e56077842de05a91563760c2055b3ddba79
tree3fee2b557f42b078c163dbd8598aac393872602f
parente77d59ebb2fc4394f5e7ddc85d849ec8c4f0a0d2
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
module/icp/algs/modes/gcm.c
module/os/linux/spl/spl-kmem-cache.c
module/zfs/dbuf.c