summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_devstat.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-08 21:46:43 +0000
committerphk <phk@FreeBSD.org>2003-03-08 21:46:43 +0000
commitcb28d5d2182d6393af3703664d8ae496039b6005 (patch)
tree439b9bf991a05cb8e1f20c157e4426c8468b0418 /sys/kern/subr_devstat.c
parentcaaeebfffc5cfa03a16b89c0cc5eb8e80c71558d (diff)
downloadFreeBSD-src-cb28d5d2182d6393af3703664d8ae496039b6005.zip
FreeBSD-src-cb28d5d2182d6393af3703664d8ae496039b6005.tar.gz
Retire devstat_add_entry() as a public function and bump __FreeBSD_version
to mark this act.
Diffstat (limited to 'sys/kern/subr_devstat.c')
-rw-r--r--sys/kern/subr_devstat.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index cd6e5a3..1804b42 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -48,6 +48,11 @@ static int devstat_current_devnumber;
static struct devstatlist device_statq;
static struct devstat *devstat_alloc(void);
static void devstat_free(struct devstat *);
+static void devstat_add_entry(struct devstat *ds, const char *dev_name,
+ int unit_number, u_int32_t block_size,
+ devstat_support_flags flags,
+ devstat_type_flags device_type,
+ devstat_priority priority);
/*
* Allocate a devstat and initialize it
@@ -71,7 +76,7 @@ devstat_new_entry(const char *dev_name,
* Take a malloced and zeroed devstat structure given to us, fill it in
* and add it to the queue of devices.
*/
-void
+static void
devstat_add_entry(struct devstat *ds, const char *dev_name,
int unit_number, u_int32_t block_size,
devstat_support_flags flags,
OpenPOWER on IntegriCloud