Merge "libdm: Move includes to a libdm folder."
This commit is contained in:
commit
bdc56b046e
7 changed files with 13 additions and 30 deletions
|
@ -14,23 +14,12 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/dm-ioctl.h>
|
||||
#include <stdint.h>
|
||||
#include "libdm/dm.h"
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <android-base/macros.h>
|
||||
#include <android-base/unique_fd.h>
|
||||
|
||||
#include "dm.h"
|
||||
|
||||
namespace android {
|
||||
namespace dm {
|
||||
|
|
|
@ -14,14 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "libdm/dm_table.h"
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <android-base/macros.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "dm_table.h"
|
||||
|
||||
namespace android {
|
||||
namespace dm {
|
||||
|
||||
|
|
|
@ -14,16 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "libdm/dm_target.h"
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <android-base/macros.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "dm_target.h"
|
||||
|
||||
namespace android {
|
||||
namespace dm {} // namespace dm
|
||||
} // namespace android
|
||||
|
|
|
@ -17,18 +17,20 @@
|
|||
#ifndef _LIBDM_DM_H_
|
||||
#define _LIBDM_DM_H_
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/dm-ioctl.h>
|
||||
#include <linux/kdev_t.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <dm_table.h>
|
||||
#include "dm_table.h"
|
||||
|
||||
// The minimum expected device mapper major.minor version
|
||||
#define DM_VERSION0 (4)
|
|
@ -20,10 +20,10 @@
|
|||
#include <linux/dm-ioctl.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <android-base/logging.h>
|
||||
|
||||
namespace android {
|
||||
namespace dm {
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include <android-base/unique_fd.h>
|
||||
#include <dm.h>
|
||||
#include <libdm/dm.h>
|
||||
|
||||
#include <functional>
|
||||
#include <iomanip>
|
||||
|
|
Loading…
Reference in a new issue