diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2011-04-08 02:47:42 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-05-10 23:19:07 +0200 |
commit | eae3b0644c05dd863e77b9989c18cb33c4d6c363 (patch) | |
tree | c882ae87e6c5ab39de3b7fa71cb3da5060b0f12b /common | |
parent | e80ab3e661428149105b5454c6111d17ddfb3b40 (diff) | |
download | u-boot-imx-eae3b0644c05dd863e77b9989c18cb33c4d6c363.zip u-boot-imx-eae3b0644c05dd863e77b9989c18cb33c4d6c363.tar.gz u-boot-imx-eae3b0644c05dd863e77b9989c18cb33c4d6c363.tar.bz2 |
common/hush: make get_local_var visible for other users
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/hush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/hush.c b/common/hush.c index 8021a68..85a6030 100644 --- a/common/hush.c +++ b/common/hush.c @@ -497,7 +497,6 @@ static void remove_bg_job(struct pipe *pi); /* local variable support */ static char **make_list_in(char **inp, char *name); static char *insert_var_value(char *inp); -static char *get_local_var(const char *var); #ifndef __U_BOOT__ /* Table of built-in functions. They can be forked or not, depending on @@ -2169,7 +2168,7 @@ static char *get_dollar_var(char ch); #endif /* This is used to get/check local shell variables */ -static char *get_local_var(const char *s) +char *get_local_var(const char *s) { struct variables *cur; |