mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +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:
@@ -54,10 +54,10 @@
|
||||
*/
|
||||
#define DUMP_GROUPING 4
|
||||
|
||||
uint64_t total_stream_len = 0;
|
||||
FILE *send_stream = 0;
|
||||
boolean_t do_byteswap = B_FALSE;
|
||||
boolean_t do_cksum = B_TRUE;
|
||||
static uint64_t total_stream_len = 0;
|
||||
static FILE *send_stream = 0;
|
||||
static boolean_t do_byteswap = B_FALSE;
|
||||
static boolean_t do_cksum = B_TRUE;
|
||||
|
||||
void *
|
||||
safe_malloc(size_t size)
|
||||
|
||||
Reference in New Issue
Block a user