summaryrefslogtreecommitdiffstats
path: root/verifier.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-04 17:04:19 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-11-04 17:04:20 +0100
commita7a8262944d03b068a5f040a9ff40ac260770135 (patch)
treed7638549769cd80391705cd643ac627b5460bd9a /verifier.cpp
parentMerge "updater: Fix an off-by-1 bug in file_getprop()." (diff)
parentRevert "Revert "Some cleanups to recovery."" (diff)
downloadandroid_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.tar
android_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.tar.gz
android_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.tar.bz2
android_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.tar.lz
android_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.tar.xz
android_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.tar.zst
android_bootable_recovery-a7a8262944d03b068a5f040a9ff40ac260770135.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;