Skip to content

Commit

Permalink
Windows: Fix declarations of non-global variables
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 committed Nov 9, 2022
1 parent 4f428f6 commit 84aa84c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/os/windows/zfs/abd_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static abd_stats_t abd_stats = {
{ "linear_data_size", KSTAT_DATA_UINT64 },
};

struct {
static struct {
wmsum_t abdstat_struct_size;
wmsum_t abdstat_scatter_cnt;
wmsum_t abdstat_scatter_data_size;
Expand Down
2 changes: 1 addition & 1 deletion module/os/windows/zfs/zfs_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ typedef struct zfs_dbgmsg {
list_t zfs_dbgmsgs;
uint_t zfs_dbgmsg_size;
kmutex_t zfs_dbgmsgs_lock;
uint_t zfs_dbgmsg_maxsize = 4<<20; /* 4MB */
static uint_t zfs_dbgmsg_maxsize = 4<<20; /* 4MB */
kstat_t *zfs_dbgmsg_kstat;

int zfs_dbgmsg_enable = 1;
Expand Down

0 comments on commit 84aa84c

Please sign in to comment.