summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-07-25 02:26:53 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-07-25 02:26:53 +0200
commit168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb (patch)
treecdc61aedfc4d532bc59e94b8470d3fafbb43c917 /common.h
parentMerge "Add command line parser for simulator" (diff)
parentMerge "Clean up some global variables in common.h" (diff)
downloadandroid_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.tar
android_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.tar.gz
android_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.tar.bz2
android_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.tar.lz
android_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.tar.xz
android_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.tar.zst
android_bootable_recovery-168ce5602256e402d0f2b8b06fa3ee4bbf1b64cb.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/common.h b/common.h
index a524a4184..128a69d9b 100644
--- a/common.h
+++ b/common.h
@@ -18,21 +18,8 @@
#include <string>
-// Not using the command-line defined macro here because this header could be included by
-// device-specific recovery libraries. We static assert the value consistency in recovery.cpp.
-static constexpr int kRecoveryApiVersion = 3;
-
-class RecoveryUI;
-struct selabel_handle;
-
-extern struct selabel_handle* sehandle;
-extern RecoveryUI* ui;
-extern bool has_cache;
-
// The current stage, e.g. "1/2".
extern std::string stage;
// The reason argument provided in "--reason=".
extern const char* reason;
-
-bool is_ro_debuggable();