diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-05-26 11:47:56 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-05-26 11:47:56 -0700 |
commit | 7adeadce47e326e88b4cf7e8d51b3aec9740a511 (patch) | |
tree | db02e06caeac10cd2e5501cafd71a252166d9171 /roots.c | |
parent | e62132bb6dc2f2d87ee4f8d262c5159ee9f14c7f (diff) | |
download | bootable_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.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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); |