diff options
-rw-r--r-- | sys/kern/subr_devstat.c | 2 | ||||
-rw-r--r-- | sys/sys/devicestat.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c index 3c15b43..8831a2f 100644 --- a/sys/kern/subr_devstat.c +++ b/sys/kern/subr_devstat.c @@ -41,7 +41,7 @@ static long devstat_generation; static int devstat_version = DEVSTAT_VERSION; static int devstat_current_devnumber; -static STAILQ_HEAD(devstatlist, devstat) device_statq; +static struct devstatlist device_statq; /* * Take a malloced and zeroed devstat structure given to us, fill it in diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h index b3e7f7f..b7becea 100644 --- a/sys/sys/devicestat.h +++ b/sys/sys/devicestat.h @@ -205,6 +205,8 @@ struct devstat { devstat_priority priority; /* Controls list pos. */ }; +STAILQ_HEAD(devstatlist, devstat); + #ifdef _KERNEL struct bio; |