diff options
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index c824764689..9b1f161350 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -8,6 +8,9 @@ * STDIO based functions (can always be used) */ +#define ORIG_printf printf +#undef printf + /* serial stuff */ void serial_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); @@ -60,4 +63,6 @@ int fputc(int file, const char c); int ftstc(int file); int fgetc(int file); +#define printf ORIG_printf + #endif /* __STDIO_H */ |