summaryrefslogtreecommitdiffstats
path: root/verifier.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-14 00:17:04 +0200
committerTao Bao <tbao@google.com>2016-10-26 23:36:42 +0200
commitc0319b60f56d445c2d1c74f551e01f069b028fe6 (patch)
tree2df23be127c0e92bf1e1be19dada2dd2e4182479 /verifier.cpp
parentMerge "Skip update-on-boot for bootreason in blacklist" (diff)
downloadandroid_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.gz
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.bz2
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.lz
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.xz
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.zst
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.zip
Diffstat (limited to '')
-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;