summaryrefslogtreecommitdiff
path: root/common/hush.c
diff options
context:
space:
mode:
authorJason Hobbs <jason.hobbs@calxeda.com>2011-08-31 05:37:24 +0000
committerWolfgang Denk <wd@denx.de>2011-10-17 22:25:34 +0200
commitc8a2079e49ee15dde10278865425ec9c36215f31 (patch)
tree61d9221a40d78ed3d6d618b63f6d0985bdea6fb4 /common/hush.c
parentb41bc5a82d8a67d347f2fc12cf2106b8a37e4336 (diff)
downloadu-boot-imx-c8a2079e49ee15dde10278865425ec9c36215f31.zip
u-boot-imx-c8a2079e49ee15dde10278865425ec9c36215f31.tar.gz
u-boot-imx-c8a2079e49ee15dde10278865425ec9c36215f31.tar.bz2
common: add run_command2 for running simple or hush commands
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hush.c b/common/hush.c
index 85a6030..940889b 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -3217,7 +3217,7 @@ int parse_stream_outer(struct in_str *inp, int flag)
#ifndef __U_BOOT__
static int parse_string_outer(const char *s, int flag)
#else
-int parse_string_outer(char *s, int flag)
+int parse_string_outer(const char *s, int flag)
#endif /* __U_BOOT__ */
{
struct in_str input;