diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-08-09 15:20:47 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-09-03 19:40:54 +0200 |
commit | fa25b35dcc39854a9f7399af86e56a34171f63a4 (patch) | |
tree | 21d7485eacb2cd1314170859ea7ed316e65052a5 /utils.h | |
parent | 116123c5f21bdb9e35abaf470592186c2353920c (diff) |
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 <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -61,8 +61,6 @@ int btrfs_scan_block_devices(int run_ioctl); u64 parse_size(char *s); int open_file_or_dir(const char *fname, DIR **dirstream); void close_file_or_dir(int fd, DIR *dirstream); -int get_device_info(int fd, u64 devid, - struct btrfs_ioctl_dev_info_args *di_args); int get_fs_info(char *path, struct btrfs_ioctl_fs_info_args *fi_args, struct btrfs_ioctl_dev_info_args **di_ret); int get_label(const char *btrfs_dev); @@ -71,7 +69,6 @@ int set_label(const char *btrfs_dev, const char *label); char *__strncpy__null(char *dest, const char *src, size_t n); int is_block_device(const char *file); int open_path_or_dev_mnt(const char *path, DIR **dirstream); -int is_swap_device(const char *file); u64 btrfs_device_size(int fd, struct stat *st); /* Helper to always get proper size of the destination string */ #define strncpy_null(dest, src) __strncpy__null(dest, src, sizeof(dest)) |