diff options
author | Arvind Sankar <[email protected]> | 2020-06-15 14:30:37 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-06-18 12:20:38 -0700 |
commit | 65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (patch) | |
tree | 4740b896f8b5fc114ae9a96c6581776799ffeb3a /cmd/raidz_test | |
parent | 1fa5c7af3314b4c556bd86e3a49e3497a5ed72ed (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 'cmd/raidz_test')
-rw-r--r-- | cmd/raidz_test/raidz_bench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/raidz_test/raidz_bench.c b/cmd/raidz_test/raidz_bench.c index 4863b8d97..8a2cec4ca 100644 --- a/cmd/raidz_test/raidz_bench.c +++ b/cmd/raidz_test/raidz_bench.c @@ -113,7 +113,7 @@ run_gen_bench_impl(const char *impl) } } -void +static void run_gen_bench(void) { char **impl_name; @@ -197,7 +197,7 @@ run_rec_bench_impl(const char *impl) } } -void +static void run_rec_bench(void) { char **impl_name; |