summaryrefslogtreecommitdiff
path: root/src/kernel/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-12 15:30:45 -0800
committerKeith Packard <keithp@keithp.com>2017-12-12 15:30:45 -0800
commitdb352bd0723e8d640bb034bc14e5ad193f0afe1d (patch)
tree3f414896a52bfaea41c4c5bfe8b4e3b2473aba57 /src/kernel/ao.h
parent09ea349f5b37e257e8ca23ead493ba1694395530 (diff)
altos/kernel: Allow ao_cmd to be built without tasking
Useful for single-threaded applications, like lambdakey 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 139050cf..2bd0e367 100644
--- a/src/kernel/ao.h
+++ b/src/kernel/ao.h
@@ -218,6 +218,9 @@ ao_cmd_register(const __code struct ao_cmds *cmds);
void
ao_cmd_init(void);
+void
+ao_cmd(void);
+
#if HAS_CMD_FILTER
/*
* Provided by an external module to filter raw command lines