summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/common.h b/common.h
index 768f499f9..18b03043b 100644
--- a/common.h
+++ b/common.h
@@ -24,7 +24,13 @@
extern "C" {
#endif
-#define LOGE(...) ui_print("E:" __VA_ARGS__)
+static long tmplog_offset = 0;
+
+#define ui_print(...) printf(__VA_ARGS__)
+#define ui_print_overwrite(...) printf(__VA_ARGS__)
+
+// TODO: restore ui_print for LOGE
+#define LOGE(...) printf("E:" __VA_ARGS__)
#define LOGW(...) fprintf(stdout, "W:" __VA_ARGS__)
#define LOGI(...) fprintf(stdout, "I:" __VA_ARGS__)
@@ -44,7 +50,7 @@ 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);
-void ui_print(const char* format, ...);
+//void ui_print(const char* format, ...);
#ifdef __cplusplus
}