summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/nonstdio.h
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-05 17:04:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-05 17:04:01 -0300
commit57f0f512b273f60d52568b8c6b77e17f5636edc0 (patch)
tree5e910f0e82173f4ef4f51111366a3f1299037a7b /arch/powerpc/xmon/nonstdio.h
Initial import
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 *, ...);