From fa25b35dcc39854a9f7399af86e56a34171f63a4 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 9 Aug 2013 15:20:47 -0500 Subject: btrfs-progs: mark static & remove unused from non-kernel code Mark many functions as static, and remove any resulting dead code. Signed-off-by: Eric Sandeen Signed-off-by: David Sterba Signed-off-by: Chris Mason --- cmds-receive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmds-receive.c') diff --git a/cmds-receive.c b/cmds-receive.c index 7abce76..1630f64 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -787,7 +787,7 @@ out: } -struct btrfs_send_ops send_ops = { +static struct btrfs_send_ops send_ops = { .subvol = process_subvol, .snapshot = process_snapshot, .mkfile = process_mkfile, @@ -810,7 +810,7 @@ struct btrfs_send_ops send_ops = { .utimes = process_utimes, }; -int do_receive(struct btrfs_receive *r, const char *tomnt, int r_fd) +static int do_receive(struct btrfs_receive *r, const char *tomnt, int r_fd) { int ret; char *dest_dir_full_path; -- cgit v1.2.1