From 01e35d9f53ebee57ccf5c46aadd809c9ecb9c802 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 5 Nov 2018 11:06:43 -0800 Subject: 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 --- check/mode-lowmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check') 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) { -- cgit v1.2.3