summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/nonstdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/xmon/nonstdio.h')
-rw-r--r--arch/powerpc/xmon/nonstdio.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/xmon/nonstdio.h b/arch/powerpc/xmon/nonstdio.h
new file mode 100644
index 000000000..18a51ded4
--- /dev/null
+++ b/arch/powerpc/xmon/nonstdio.h
@@ -0,0 +1,9 @@
+#define EOF (-1)
+
+#define printf xmon_printf
+#define putchar xmon_putchar
+
+extern int xmon_putchar(int c);
+extern void xmon_puts(const char *);
+extern char *xmon_gets(char *, int);
+extern void xmon_printf(const char *, ...);