From 2673cec07a4740f86438b50cfe1b70b258a9a8c8 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 2 Apr 2013 20:22:16 +0000 Subject: Move all AOSP code out of recovery binary Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0 --- common.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index 7bd769a34..434429812 100644 --- a/common.h +++ b/common.h @@ -25,12 +25,11 @@ extern "C" { static long tmplog_offset = 0; -#define ui_print(...) gui_print(__VA_ARGS__) -#define ui_print_overwrite(...) gui_print_overwrite(__VA_ARGS__) +#define ui_print(...) printf(__VA_ARGS__) +#define ui_print_overwrite(...) printf(__VA_ARGS__) -#include "gui/gui.h" // TODO: restore ui_print for LOGE -#define LOGE(...) gui_print("E:" __VA_ARGS__) +#define LOGE(...) printf("E:" __VA_ARGS__) #define LOGW(...) fprintf(stdout, "W:" __VA_ARGS__) #define LOGI(...) fprintf(stdout, "I:" __VA_ARGS__) -- cgit v1.2.3