summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-10-27 06:49:49 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-10-27 06:49:49 +0200
commit9514eb1934f84a926732936a9041e2c8b7587ef7 (patch)
tree80d0fb9005425e89933b99f5d8a829271eb4a235 /common.h
parentMerge "Some cleanups to recovery." (diff)
parentRevert "Some cleanups to recovery." (diff)
downloadandroid_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.gz
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.bz2
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.lz
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.xz
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.tar.zst
android_bootable_recovery-9514eb1934f84a926732936a9041e2c8b7587ef7.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common.h b/common.h
index f10fe6735..a948fb1a0 100644
--- a/common.h
+++ b/common.h
@@ -17,16 +17,15 @@
#ifndef RECOVERY_COMMON_H
#define RECOVERY_COMMON_H
+#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
#define STRINGIFY(x) #x
#define EXPAND(x) STRINGIFY(x)
-class RecoveryUI;
-
-extern RecoveryUI* ui;
extern bool modified_flash;
+typedef struct fstab_rec Volume;
// fopen a file, mounting volumes and making parent dirs as necessary.
FILE* fopen_path(const char *path, const char *mode);