mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 12:12:13 +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:
@@ -33,7 +33,7 @@
|
||||
#include <libaio.h>
|
||||
#include <err.h>
|
||||
|
||||
io_context_t io_ctx;
|
||||
static io_context_t io_ctx;
|
||||
|
||||
static void
|
||||
do_sync_io(struct iocb *iocb)
|
||||
|
||||
Reference in New Issue
Block a user