mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
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
This commit is contained in:
@@ -132,7 +132,7 @@ static abd_stats_t abd_stats = {
|
||||
{ "scatter_sg_table_retry", KSTAT_DATA_UINT64 },
|
||||
};
|
||||
|
||||
struct {
|
||||
static struct {
|
||||
wmsum_t abdstat_struct_size;
|
||||
wmsum_t abdstat_linear_cnt;
|
||||
wmsum_t abdstat_linear_data_size;
|
||||
|
||||
Reference in New Issue
Block a user