]> git.proxmox.com Git - mirror_spl.git/commitdiff
Staticize kstat_default_update()
authorTomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Mon, 19 Feb 2018 10:23:53 +0000 (19:23 +0900)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:08:51 +0000 (16:08 -0700)
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

module/spl/spl-kstat.c

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