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 /utils-lib.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 'utils-lib.c')
-rw-r--r-- | utils-lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils-lib.c b/utils-lib.c index 044f93fc..2ac421be 100644 --- a/utils-lib.c +++ b/utils-lib.c @@ -5,6 +5,8 @@ #include <sys/ioctl.h> #include <ioctl.h> +#include "utils.h" + #if BTRFS_FLAT_INCLUDES #include "ctree.h" #else |