path: root/check
diff options
authorRosen Penev <>2018-11-05 11:06:43 -0800
committerDavid Sterba <>2018-11-13 13:32:41 +0100
commit01e35d9f53ebee57ccf5c46aadd809c9ecb9c802 (patch)
treef8f7829d41769ad344d639aba6e27642371ce4d9 /check
parent803c916907b37185dd214b626486bf759311c627 (diff)
btrfs-progs: treewide: Fix missing declarations
Found using -Wmissing-prototypes in GCC. This should improve LTO behavior. Note that set_free_space_tree_thresholds is an unused function. Adding inline seems to remove the unused function warning. Reviewed-by: Nikolay Borisov <> Signed-off-by: Rosen Penev <> Signed-off-by: David Sterba <>
Diffstat (limited to 'check')
1 files changed, 1 insertions, 1 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c
index 14bbc9ee..94123c17 100644
--- a/check/mode-lowmem.c
+++ b/check/mode-lowmem.c
@@ -953,7 +953,7 @@ out:
* returns 0 means success.
* returns not 0 means on error;
-int repair_ternary_lowmem(struct btrfs_root *root, u64 dir_ino, u64 ino,
+static int repair_ternary_lowmem(struct btrfs_root *root, u64 dir_ino, u64 ino,
u64 index, char *name, int name_len, u8 filetype,
int err)