summaryrefslogtreecommitdiffstats
path: root/verifier.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-27 01:42:01 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-10-27 01:42:01 +0200
commitaa2e4ddc30053c904ede048dedb1b67ae4f316b7 (patch)
treedb1522b7b3f6cf8069b93955c0db7c7e88601015 /verifier.cpp
parentMerge "Skip update-on-boot for bootreason in blacklist" am: ebc141dff2 am: 750bb46305 (diff)
parentMerge "Some cleanups to recovery." am: 46fb0a6a6f (diff)
downloadandroid_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.tar
android_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.tar.gz
android_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.tar.bz2
android_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.tar.lz
android_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.tar.xz
android_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.tar.zst
android_bootable_recovery-aa2e4ddc30053c904ede048dedb1b67ae4f316b7.zip
Diffstat (limited to 'verifier.cpp')
-rw-r--r--verifier.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/verifier.cpp b/verifier.cpp
index 82cdd3bc7..44098f70e 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -14,9 +14,11 @@
* limitations under the License.
*/
+#include "verifier.h"
+
#include <errno.h>
-#include <malloc.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <algorithm>
@@ -31,9 +33,6 @@
#include "common.h"
#include "print_sha1.h"
#include "ui.h"
-#include "verifier.h"
-
-extern RecoveryUI* ui;
static constexpr size_t MiB = 1024 * 1024;