aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2015-03-25 17:51:15 -0500
committerTao Bao2015-03-25 17:56:15 -0500
commit145d86146084b199e64c3b2db21a22c05aa30098 (patch)
tree3bdeff295f050e159b2392b557c67788e8272b00 /install.h
parente31f956597f758154a5f6ca7a5793230c8eff936 (diff)
downloadplatform-bootable-recovery-145d86146084b199e64c3b2db21a22c05aa30098.tar.gz
platform-bootable-recovery-145d86146084b199e64c3b2db21a22c05aa30098.tar.xz
platform-bootable-recovery-145d86146084b199e64c3b2db21a22c05aa30098.zip
Factor out option variables from int to bool types
Change-Id: Ia897aa43e44d115bde6de91789b35723826ace22
Diffstat (limited to 'install.h')
-rw-r--r--install.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.h b/install.h
index 53c0d312..680499db 100644
--- a/install.h
+++ b/install.h
@@ -27,7 +27,7 @@ enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE };
27// Install the package specified by root_path. If INSTALL_SUCCESS is 27// Install the package specified by root_path. If INSTALL_SUCCESS is
28// returned and *wipe_cache is true on exit, caller should wipe the 28// returned and *wipe_cache is true on exit, caller should wipe the
29// cache partition. 29// cache partition.
30int install_package(const char *root_path, int* wipe_cache, 30int install_package(const char* root_path, bool* wipe_cache,
31 const char* install_file, bool needs_mount); 31 const char* install_file, bool needs_mount);
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus