aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorJason Hobbs <jason.hobbs@calxeda.com>2011-06-29 11:25:17 -0500
committerJohn Rigby <john.rigby@linaro.org>2011-06-30 12:23:34 +0100
commit6e9b76f9d0dcdca63d8a2c4d91015ef09b0ce166 (patch)
tree6e0b3d91f181caa61d978afb483b73a071fc19b7 /include/common.h
parent9cfbc22c26ca6fae4c36e51299d7ca04fca68568 (diff)
common: add run_command2 for running simple or hush commands
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 394a005b0..bd2c1a080 100644
--- a/include/common.h
+++ b/include/common.h
@@ -228,6 +228,7 @@ int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen);
/* common/main.c */
void main_loop (void);
int run_command (const char *cmd, int flag);
+int run_command2 (const char *cmd, int flag);
int readline (const char *const prompt);
int readline_into_buffer (const char *const prompt, char * buffer);
int parse_line (char *, char *[]);