summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-11 21:28:06 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-12 21:14:38 +0200
commit32c8eb81af916f04fd42e7294f699b10474beef6 (patch)
treed845c9e6435c0b6f6b1e6bc490315600b20e72eb /install.cpp
parentClean up extra-functions (diff)
downloadandroid_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.tar
android_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.tar.gz
android_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.tar.bz2
android_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.tar.lz
android_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.tar.xz
android_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.tar.zst
android_bootable_recovery-32c8eb81af916f04fd42e7294f699b10474beef6.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 8d36cb553..4d73aa9b0 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.
-extern "C" int
+static int
try_update_binary(const char *path, ZipArchive *zip, int* wipe_cache) {
const ZipEntry* binary_entry =
mzFindZipEntry(zip, ASSUMED_UPDATE_BINARY_NAME);