summaryrefslogtreecommitdiffstats
path: root/verifier.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-10-27 06:53:48 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-10-27 06:53:48 +0200
commit0c571e5923526477a3994458da1c4320b87ea863 (patch)
tree5dd97229a584eb17c2a9f5e65e0646f0ab2b7ce8 /verifier.cpp
parentMerge "Some cleanups to recovery." (diff)
parentMerge "Revert "Some cleanups to recovery."" (diff)
downloadandroid_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.tar
android_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.tar.gz
android_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.tar.bz2
android_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.tar.lz
android_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.tar.xz
android_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.tar.zst
android_bootable_recovery-0c571e5923526477a3994458da1c4320b87ea863.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;