Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxcbtrfs.{c,h} rework declarations and definitions
Declare - btrfs_same_fs(); - btrfs_snapshot(); extern instead of static in lxcbtrfs.h. They are defined in lxcbtrfs.c. Forward declare/put - struct bdev; /* defined in bdev.h */ - struct bdev_specs; /* defined in lxccontainer.h */ - struct lxc_conf; /* defined conf.h */ as incomplete types in lxcbtrfs.h so that functions declared and defined in lxcbtrfs.{c,h} have access to it. Declare - dir_new_path(); in lxcbtrfs.c. It is defined in lxccontainer.c. Move definition of struct - struct rsync_data_char; from bdev.c to bdev.h because the functions in lxcbtrfs.{c,h} need to access it. Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
- Loading branch information
Christian Brauner
committed
Dec 28, 2015
1 parent
f2e50c4
commit 93d4475
Showing
4 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters