From 68386b05031a70f7f135481307318ef04c2f30e0 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Mon, 19 Feb 2018 19:23:53 +0900 Subject: 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 Signed-off-by: Tomohiro Kusumi Closes #686 --- module/spl/spl-kstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c index 70c0c98f8..405ece0ad 100644 --- a/module/spl/spl-kstat.c +++ b/module/spl/spl-kstat.c @@ -327,7 +327,7 @@ restart: return (-rc); } -int +static int kstat_default_update(kstat_t *ksp, int rw) { ASSERT(ksp != NULL); -- cgit v1.2.3