fix up some implicit declarations
Change-Id: Ia98bb5bea04a9cb87bf1993687e7f91f46022509
diff --git a/roots.c b/roots.c
index c1c37a3..4ecc4dd 100644
--- a/roots.c
+++ b/roots.c
@@ -28,6 +28,9 @@
#include "common.h"
#include "make_ext4fs.h"
+#include "flashutils/flashutils.h"
+#include "extendedcommands.h"
+
int num_volumes;
Volume* device_volumes;
@@ -301,10 +304,6 @@
return 0;
}
- if (strcmp(v->fs_type, "emmc") == 0) {
- return erase_raw_partition("emmc", v->device);
- }
-
if (strcmp(v->fs_type, "ext4") == 0) {
reset_ext4fs_info();
int result = make_ext4fs(v->device, NULL, NULL, 0, 0, 0);