Minor update for parsing uevent

This commit is contained in:
topjohnwu
2019-05-27 02:55:46 -07:00
parent 845d1e02b0
commit 3b0f888407
2 changed files with 27 additions and 29 deletions

View File

@@ -11,13 +11,6 @@ struct raw_data {
size_t sz;
};
struct device {
int major;
int minor;
char devname[32];
char partname[32];
};
class MagiskInit {
private:
cmdline cmd{};
@@ -35,7 +28,7 @@ private:
void preset();
void early_mount();
void setup_rootfs();
bool read_dt_fstab(const char *name, char *partname, char *partfs);
bool read_dt_fstab(const char *name, char *partname, char *fstype);
bool patch_sepolicy();
void cleanup();
void re_exec_init();