aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-16 18:34:19 -0700
committerBrian Behlendorf <[email protected]>2019-10-16 18:34:19 -0700
commit47d57dbccf5693b327342ec045b66bcf5a47e655 (patch)
tree77d42a2b9b09f272caa52eeb269dc2ad108fc495 /module
parent177c79dfbee633b70e7d373ff83c6a2d47625a17 (diff)
Fix signature for private functions without header declarations
Clang will complain if a function has no prior declaration Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9467
Diffstat (limited to 'module')
-rw-r--r--module/zfs/btree.c2
-rw-r--r--module/zfs/dsl_destroy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/btree.c b/module/zfs/btree.c
index f099eb67c..9f69d4b1a 100644
--- a/module/zfs/btree.c
+++ b/module/zfs/btree.c
@@ -59,7 +59,7 @@ int zfs_btree_verify_intensity = 0;
* A convenience function to silence warnings from memmove's return value and
* change argument order to src, dest.
*/
-void
+static void
bmov(const void *src, void *dest, size_t size)
{
(void) memmove(dest, src, size);
diff --git a/module/zfs/dsl_destroy.c b/module/zfs/dsl_destroy.c
index ee237a85b..37480c3f7 100644
--- a/module/zfs/dsl_destroy.c
+++ b/module/zfs/dsl_destroy.c
@@ -938,7 +938,7 @@ dsl_async_clone_destroy(dsl_dataset_t *ds, dmu_tx_t *tx)
* Move the bptree into the pool's list of trees to clean up, update space
* accounting information and destroy the zil.
*/
-void
+static void
dsl_async_dataset_destroy(dsl_dataset_t *ds, dmu_tx_t *tx)
{
uint64_t used, comp, uncomp;