Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdc56b04 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libdm: Move includes to a libdm folder."

parents a242a4ba b1a834ec
Loading
Loading
Loading
Loading
+2 −13
Original line number Diff line number Diff line
@@ -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 {
+2 −5
Original line number Diff line number Diff line
@@ -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 {

+2 −7
Original line number Diff line number Diff line
@@ -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
+4 −2
Original line number Diff line number Diff line
@@ -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)
Loading