Staticize kstat_default_update()

This is only used via ->ks_update of `kstat_t *`.
This isn't exported nor do headers have its prototype.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #686
This commit is contained in:
Tomohiro Kusumi 2018-02-19 19:23:53 +09:00 committed by Brian Behlendorf
parent 2b5cd5990f
commit 68386b0503

View File

@ -327,7 +327,7 @@ restart:
return (-rc);
}
int
static int
kstat_default_update(kstat_t *ksp, int rw)
{
ASSERT(ksp != NULL);