From 51a0e82eb29a6dfc79f93479883383fbdbf8bcc2 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 5 Sep 2012 15:24:24 -0400 Subject: TWRP-ify AOSP code Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere --- common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index a1168cdbb..4122e4066 100644 --- a/common.h +++ b/common.h @@ -23,6 +23,9 @@ extern "C" { #endif +#define ui_print(...) fprintf(stdout, __VA_ARGS__) +#define ui_print_overwrite(...) fprintf(stdout, __VA_ARGS__) + // TODO: restore ui_print for LOGE #define LOGE(...) fprintf(stdout, "E:" __VA_ARGS__) #define LOGW(...) fprintf(stdout, "W:" __VA_ARGS__) -- cgit v1.2.3