Rename function expand_variable_array to tokenize_variable_array and move it from expand.c to common.c, since it is used by fish_pager, which should not depend on expand.o

darcs-hash:20060529111342-ac50b-315d7dcf04e05fa8f32e16801e6793ac4e4e022e.gz
This commit is contained in:
axel
2006-05-29 21:13:42 +10:00
parent 79b466441b
commit d46dade284
9 changed files with 44 additions and 44 deletions

View File

@@ -178,16 +178,6 @@ wchar_t *expand_escape_variable( const wchar_t *in );
wchar_t *expand_tilde(wchar_t *in);
/**
Tokenize the specified string into the specified array_list_t.
Each new element is allocated using malloc and must be freed by the
caller.
\param val the input string. The contents of this string is not changed.
\param out the list in which to place the elements.
*/
void expand_variable_array( const wchar_t *val, array_list_t *out );
/**
Test if the specified argument is clean, i.e. it does not contain
any tokens which need to be expanded or otherwise altered. Clean