Btrfs-progs: fix compile warning of implicit declaration of "list_snapshots"
authorMiao Xie <miaox@cn.fujitsu.com>
Sat, 1 Sep 2012 07:31:55 +0000 (15:31 +0800)
committerroot <root@localhost.localdomain>
Thu, 4 Oct 2012 20:26:32 +0000 (16:26 -0400)
This patch fixes the following warning:
cmds-subvolume.c:283:3: warning: implicit declaration of function "list_snapshots"

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
btrfs-list.h

index 96f3641..b4a7f30 100644 (file)
@@ -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);