]> git.proxmox.com Git - mirror_zfs.git/commit
Fix declarations of non-global variables
authorTino Reichardt <milky-zfs@mcmilk.de>
Tue, 18 Oct 2022 18:05:32 +0000 (20:05 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Oct 2022 18:05:32 +0000 (11:05 -0700)
commit27218a32fc5eb6661996204af3d43fd97c9bda4d
treefb62db56b74c85df681f381a3d0574cbedd26b35
parentab49df487b5dfee8d045195c30d3bf1b00c23910
Fix declarations of non-global variables

This patch inserts the `static` keyword to non-global variables,
which where found by the analysis tool smatch.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #13970
17 files changed:
cmd/zdb/zdb.c
cmd/zstream/zstream_dump.c
cmd/ztest.c
module/os/linux/spl/spl-condvar.c
module/os/linux/spl/spl-err.c
module/os/linux/spl/spl-generic.c
module/os/linux/spl/spl-kmem-cache.c
module/os/linux/zfs/abd_os.c
module/os/linux/zfs/zfs_debug.c
module/os/linux/zfs/zvol_os.c
module/zfs/zio.c
module/zfs/zio_compress.c
tests/zfs-tests/cmd/btree_test.c
tests/zfs-tests/cmd/checksum/edonr_test.c
tests/zfs-tests/cmd/checksum/sha2_test.c
tests/zfs-tests/cmd/checksum/skein_test.c
tests/zfs-tests/cmd/mmap_libaio.c