path: root/btrfs-list.h
diff options
authorMiao Xie <>2012-09-01 15:31:55 +0800
committerroot <root@localhost.localdomain>2012-10-04 16:26:32 -0400
commitf25d8564dcfb577ab8e11df799fb821593adbf0a (patch)
treeeb551847e97bdfb5b5b902f54639bf3de0ab2709 /btrfs-list.h
parentc5800fb016a98625309769559af564e6c768ca6d (diff)
Btrfs-progs: fix compile warning of implicit declaration of "list_snapshots"
This patch fixes the following warning: cmds-subvolume.c:283:3: warning: implicit declaration of function "list_snapshots" Signed-off-by: Miao Xie <>
Diffstat (limited to 'btrfs-list.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index 96f36417..b4a7f30f 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -17,5 +17,6 @@
int list_subvols(int fd, int print_parent, int get_default, int print_uuid);
+int list_snapshots(int fd, int print_parent, int order, int print_uuid);
int find_updated_files(int fd, u64 root_id, u64 oldest_gen);
char *path_for_root(int fd, u64 root);