mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +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:
@@ -23,11 +23,11 @@
|
||||
|
||||
#define BUFSIZE 256
|
||||
|
||||
int seed = 0;
|
||||
int stress_timeout = 180;
|
||||
int contents_frequency = 100;
|
||||
int tree_limit = 64 * 1024;
|
||||
boolean_t stress_only = B_FALSE;
|
||||
static int seed = 0;
|
||||
static int stress_timeout = 180;
|
||||
static int contents_frequency = 100;
|
||||
static int tree_limit = 64 * 1024;
|
||||
static boolean_t stress_only = B_FALSE;
|
||||
|
||||
static void
|
||||
usage(int exit_value)
|
||||
|
||||
Reference in New Issue
Block a user