summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-10-31 11:51:54 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-09 13:47:29 +0100
commitf1f478ff7b9a7579cdfea5674be2050035edd48a (patch)
treea4f1d59a8a1908d87ab074d1bd12966caa2341ae /btrfs-list.h
parent8df2d94bf9eafa14c3960992bcb84e9985699893 (diff)
btrfs-progs: return void from btrfs_list_setup_filter
As an early setup function, failure uisng exit is ok. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index a39a01a..528d5a9 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -162,7 +162,7 @@ int btrfs_list_parse_filter_string(char *optarg,
enum btrfs_list_filter_enum type);
void btrfs_list_setup_print_column(enum btrfs_list_column_enum column);
struct btrfs_list_filter_set *btrfs_list_alloc_filter_set(void);
-int btrfs_list_setup_filter(struct btrfs_list_filter_set **filter_set,
+void btrfs_list_setup_filter(struct btrfs_list_filter_set **filter_set,
enum btrfs_list_filter_enum filter, u64 data);
struct btrfs_list_comparer_set *btrfs_list_alloc_comparer_set(void);