aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/freebsd/spl
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-15 14:30:37 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:20:38 -0700
commit65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (patch)
tree4740b896f8b5fc114ae9a96c6581776799ffeb3a /module/os/freebsd/spl
parent1fa5c7af3314b4c556bd86e3a49e3497a5ed72ed (diff)
Mark functions as static
Mark functions used only in the same translation unit as static. This only includes functions that do not have a prototype in a header file either. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'module/os/freebsd/spl')
-rw-r--r--module/os/freebsd/spl/callb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/os/freebsd/spl/callb.c b/module/os/freebsd/spl/callb.c
index d4a0e141c..04ea396f5 100644
--- a/module/os/freebsd/spl/callb.c
+++ b/module/os/freebsd/spl/callb.c
@@ -94,7 +94,7 @@ callb_cpr_t callb_cprinfo_safe = {
/*
* Init all callb tables in the system.
*/
-void
+static void
callb_init(void *dummy __unused)
{
callb_table.ct_busy = 0; /* mark table open for additions */
@@ -102,7 +102,7 @@ callb_init(void *dummy __unused)
mutex_init(&callb_table.ct_lock, NULL, MUTEX_DEFAULT, NULL);
}
-void
+static void
callb_fini(void *dummy __unused)
{
callb_t *cp;