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:
@@ -37,7 +37,7 @@
|
||||
#endif
|
||||
|
||||
#define MAX_HRTIMEOUT_SLACK_US 1000
|
||||
unsigned int spl_schedule_hrtimeout_slack_us = 0;
|
||||
static unsigned int spl_schedule_hrtimeout_slack_us = 0;
|
||||
|
||||
static int
|
||||
param_set_hrtimeout_slack(const char *buf, zfs_kernel_param_t *kp)
|
||||
|
||||
Reference in New Issue
Block a user