summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-06 02:47:21 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-06 02:47:21 +0200
commit7d15c25b3aee38a84987513daf79055bd511d9d0 (patch)
treee736f89ca2161ffbef750e238193d83f637b97b8 /install.cpp
parentTWRP-ify AOSP code (diff)
downloadandroid_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar
android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.gz
android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.bz2
android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.lz
android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.xz
android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.zst
android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.zip
Diffstat (limited to '')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 4d73aa9b0..8d36cb553 100644
--- a/install.cpp
+++ b/install.cpp
@@ -46,7 +46,7 @@ static const float DEFAULT_FILES_PROGRESS_FRACTION = 0.4;
static const float DEFAULT_IMAGE_PROGRESS_FRACTION = 0.1;
// If the package contains an update binary, extract it and run it.
-static int
+extern "C" int
try_update_binary(const char *path, ZipArchive *zip, int* wipe_cache) {
const ZipEntry* binary_entry =
mzFindZipEntry(zip, ASSUMED_UPDATE_BINARY_NAME);