summaryrefslogtreecommitdiff
path: root/src/kernel/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-02 14:14:23 -0700
committerKeith Packard <keithp@keithp.com>2017-02-20 11:16:49 -0800
commitcaba623cb013b73e1f0ca369edf98e0376bec41a (patch)
tree54944406e26b10991c6a356aec26cbfb0d19baac /src/kernel/ao.h
parentd2408e72d1e0d3459918601712b09860ab17e200 (diff)
altos/kernel: Make ao_cmd_readline public. Return char from ao_cmd_lex.
With these two changes, the readline function can be used by other code. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao.h')
-rw-r--r--src/kernel/ao.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/ao.h b/src/kernel/ao.h
index fb41d7a9..9ab7991b 100644
--- a/src/kernel/ao.h
+++ b/src/kernel/ao.h
@@ -170,6 +170,9 @@ void
ao_put_string(__code char *s);
void
+ao_cmd_readline(void);
+
+char
ao_cmd_lex(void);
void