summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-04-26 18:43:25 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-04-26 18:43:25 +0200
commit7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65 (patch)
tree044f24fe5d41b2ac833bbef487032a7065bf7ca5 /common.h
parentMerge "updater_sample: Use stubs libs for android.test.base / runner." am: d97b643de4 (diff)
parentMerge "Rename CacheLocation to Paths." (diff)
downloadandroid_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.tar
android_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.tar.gz
android_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.tar.bz2
android_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.tar.lz
android_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.tar.xz
android_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.tar.zst
android_bootable_recovery-7acf21c34aa2f84ab4aa42b3a1c85e92679b6a65.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 8b336f806..a85130698 100644
--- a/common.h
+++ b/common.h
@@ -17,8 +17,8 @@
#ifndef RECOVERY_COMMON_H
#define RECOVERY_COMMON_H
-#include <stdio.h>
#include <stdarg.h>
+#include <stdio.h>
#include <string>
@@ -38,7 +38,7 @@ extern std::string stage;
extern const char* reason;
// fopen a file, mounting volumes and making parent dirs as necessary.
-FILE* fopen_path(const char *path, const char *mode);
+FILE* fopen_path(const std::string& path, const char* mode);
void ui_print(const char* format, ...);