aboutsummaryrefslogtreecommitdiffstats
path: root/roots.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2011-05-26 11:47:56 -0700
committerKoushik Dutta <koushd@gmail.com>2011-05-26 11:47:56 -0700
commit7adeadce47e326e88b4cf7e8d51b3aec9740a511 (patch)
treedb02e06caeac10cd2e5501cafd71a252166d9171 /roots.c
parente62132bb6dc2f2d87ee4f8d262c5159ee9f14c7f (diff)
downloadbootable_recovery-7adeadce47e326e88b4cf7e8d51b3aec9740a511.zip
bootable_recovery-7adeadce47e326e88b4cf7e8d51b3aec9740a511.tar.gz
bootable_recovery-7adeadce47e326e88b4cf7e8d51b3aec9740a511.tar.bz2
fix up some implicit declarations
Change-Id: Ia98bb5bea04a9cb87bf1993687e7f91f46022509
Diffstat (limited to 'roots.c')
-rw-r--r--roots.c7
1 files changed, 3 insertions, 4 deletions
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 @@ int format_volume(const char* volume) {
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);