From eae3b0644c05dd863e77b9989c18cb33c4d6c363 Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Fri, 8 Apr 2011 02:47:42 +0000 Subject: common/hush: make get_local_var visible for other users Signed-off-by: Holger Brunck Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel cc: Valentin Longchamp Signed-off-by: Valentin Longchamp --- common/hush.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/hush.c') diff --git a/common/hush.c b/common/hush.c index 8021a68446..85a603071f 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; -- cgit v1.2.1