summaryrefslogtreecommitdiffstats
path: root/verifier.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-10-27 06:49:49 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-10-27 06:49:49 +0200
commit9514eb1934f84a926732936a9041e2c8b7587ef7 (patch)
tree80d0fb9005425e89933b99f5d8a829271eb4a235 /verifier.cpp
parentMerge "Some cleanups to recovery." (diff)
parentRevert "Some cleanups to recovery." (diff)
downloadandroid_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.gz
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.bz2
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.lz
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.xz
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.zst
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.zip
Diffstat (limited to '')
-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;