summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-03-30 16:18:18 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-30 16:18:18 +0100
commitbb8f0fff17488fb3935646d53860a0bf24749960 (patch)
treebca9e55c10ab5d09e5fb76cf9c71bc5ff8138cdd /common.h
parentMerge "Move install to separate module" (diff)
parentrecovery: Remove SetUsbConfig() out of common.h. (diff)
downloadandroid_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.tar
android_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.tar.gz
android_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.tar.bz2
android_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.tar.lz
android_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.tar.xz
android_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.tar.zst
android_bootable_recovery-bb8f0fff17488fb3935646d53860a0bf24749960.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/common.h b/common.h
index 22b2f0a0d..a524a4184 100644
--- a/common.h
+++ b/common.h
@@ -14,11 +14,7 @@
* limitations under the License.
*/
-#ifndef RECOVERY_COMMON_H
-#define RECOVERY_COMMON_H
-
-#include <stdarg.h>
-#include <stdio.h>
+#pragma once
#include <string>
@@ -39,9 +35,4 @@ extern std::string stage;
// The reason argument provided in "--reason=".
extern const char* reason;
-void ui_print(const char* format, ...) __printflike(1, 2);
-
bool is_ro_debuggable();
-
-bool SetUsbConfig(const std::string& state);
-#endif // RECOVERY_COMMON_H