summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-04-10 14:38:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-04-10 14:38:50 +0000
commit20d21598033bb682a54ec1eca2568e030ad92e46 (patch)
tree1a15fcf2deff6bd77c1df559cf50a1fb9abbd049 /fastboot/fastboot.cpp
parent9e8e19a722356d0a5e08e3db3c2ca56a0725e2b1 (diff)
parent11ff345979af6bc867f019982896bb2c332f1966 (diff)
Merge "Minimal changes to build fastboot as a library."
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index cf130c9a4..42f4fbb4b 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -1410,8 +1410,7 @@ failed:
fprintf(stderr, "FAILED (%s)\n", fb_get_error().c_str());
}
-int main(int argc, char **argv)
-{
+int FastBoot::Main(int argc, char* argv[]) {
bool wants_wipe = false;
bool wants_reboot = false;
bool wants_reboot_bootloader = false;