diff options
author | Rosen Penev <rosenp@gmail.com> | 2018-11-05 11:06:43 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-11-13 13:32:41 +0100 |
commit | 01e35d9f53ebee57ccf5c46aadd809c9ecb9c802 (patch) | |
tree | f8f7829d41769ad344d639aba6e27642371ce4d9 /btrfs.c | |
parent | 803c916907b37185dd214b626486bf759311c627 (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 <nborisov@suse.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs.c')
-rw-r--r-- | btrfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ static int handle_global_options(int argc, char **argv) return shift; } -void handle_special_globals(int shift, int argc, char **argv) +static void handle_special_globals(int shift, int argc, char **argv) { int has_help = 0; int has_full = 0; |