diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-05 21:43:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-05 21:43:21 -0800 |
commit | 4114210e0b813f4af99d0cb7755ad2ac2c4b120e (patch) | |
tree | f57682375668fb06411095866f7805d9d21cb3e8 /src/ao_ignite.c | |
parent | 5a79a04ddb0b3ee64de34e366f71a0f6db509c01 (diff) |
Move ao_match_word from ao_ignite.c to ao_cmd.c
This is a generally useful command line utility.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_ignite.c')
-rw-r--r-- | src/ao_ignite.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ao_ignite.c b/src/ao_ignite.c index 8206e342..981cf0ce 100644 --- a/src/ao_ignite.c +++ b/src/ao_ignite.c @@ -121,20 +121,6 @@ ao_igniter(void) } } -static uint8_t -ao_match_word(__code char *word) -{ - while (*word) { - if (ao_cmd_lex_c != *word) { - ao_cmd_status = ao_cmd_syntax_error; - return 0; - } - word++; - ao_cmd_lex(); - } - return 1; -} - void ao_ignite_manual(void) { |