mirror_zfs/cmd
Tino Reichardt 27218a32fc
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
2022-10-18 11:05:32 -07:00
..
raidz_test Cleanup: Address Clang's static analyzer's unused code complaints 2022-10-14 13:37:54 -07:00
zdb Fix declarations of non-global variables 2022-10-18 11:05:32 -07:00
zed Handle possible null pointers from malloc/strdup/strndup() 2022-10-06 17:18:40 -07:00
zfs Cleanup: Address Clang's static analyzer's unused code complaints 2022-10-14 13:37:54 -07:00
zinject Fix unsafe string operations 2022-09-27 16:47:24 -07:00
zpool Expose libzutil error info in libpc_handle_t 2022-10-04 09:54:35 -07:00
zpool_influxdb Fix unchecked return values 2022-09-29 09:02:57 -07:00
zstream Fix declarations of non-global variables 2022-10-18 11:05:32 -07:00
arc_summary Remove ambiguity on demand vs prefetch stats reported by arc_summary 2022-10-04 11:00:02 -07:00
arcstat.in arcstat: fix -p option 2022-08-12 14:21:52 -07:00
dbufstat.in Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am Add zilstat script to report zil kstats in a user friendly manner 2022-09-02 13:24:07 -07:00
mount_zfs.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_ids_to_path.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zgenhostid.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zhack.c Expose libzutil error info in libpc_handle_t 2022-10-04 09:54:35 -07:00
zilstat.in Add zilstat script to report zil kstats in a user friendly manner 2022-09-02 13:24:07 -07:00
ztest.c Fix declarations of non-global variables 2022-10-18 11:05:32 -07:00
zvol_wait zvol_wait logic may terminate prematurely 2022-10-11 12:12:04 -07:00