summaryrefslogtreecommitdiff
path: root/src/kernel/ao_stdio.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-10 18:34:49 -0800
committerKeith Packard <keithp@keithp.com>2017-12-11 12:20:25 -0800
commit8ebecd364fd328e9c649c11729bddf58731aaafb (patch)
treeb388dbe788c78e04566e438ba797cf62f9fa93b2 /src/kernel/ao_stdio.c
parentb0de72d942eb87c5acd190878dd57ca4f812e8a1 (diff)
altos: Allow building with newlib + avr stdio on ARM
Redefines some stdio bits so that we can build with either pdclib or newlib + avr stdio. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_stdio.c')
-rw-r--r--src/kernel/ao_stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/ao_stdio.c b/src/kernel/ao_stdio.c
index f0ee0a14..dc09b5c7 100644
--- a/src/kernel/ao_stdio.c
+++ b/src/kernel/ao_stdio.c
@@ -84,7 +84,7 @@ __pdata int8_t ao_cur_stdio;
#endif
void
-putchar(char c)
+ao_putchar(char c)
{
#if LOW_LEVEL_DEBUG
if (!ao_cur_task) {
@@ -110,7 +110,7 @@ flush(void)
__xdata uint8_t ao_stdin_ready;
char
-getchar(void) __reentrant
+ao_getchar(void) __reentrant
{
int c;
int8_t stdio;