summaryrefslogtreecommitdiffstats
path: root/verifier.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-10-27 06:58:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-10-27 06:58:20 +0200
commit3456ee19f9d1a1ac6b58f64f51820653ef52c33b (patch)
tree904bd1cdcbf5ef265464fe29e1278d5412621aef /verifier.cpp
parentMerge "Some cleanups to recovery." am: 46fb0a6a6f (diff)
parentMerge "Revert "Some cleanups to recovery."" (diff)
downloadandroid_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.tar
android_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.tar.gz
android_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.tar.bz2
android_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.tar.lz
android_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.tar.xz
android_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.tar.zst
android_bootable_recovery-3456ee19f9d1a1ac6b58f64f51820653ef52c33b.zip
Diffstat (limited to 'verifier.cpp')
-rw-r--r--verifier.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/verifier.cpp b/verifier.cpp
index 44098f70e..82cdd3bc7 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -14,11 +14,9 @@
* limitations under the License.
*/
-#include "verifier.h"
-
#include <errno.h>
+#include <malloc.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <algorithm>
@@ -33,6 +31,9 @@
#include "common.h"
#include "print_sha1.h"
#include "ui.h"
+#include "verifier.h"
+
+extern RecoveryUI* ui;
static constexpr size_t MiB = 1024 * 1024;