Imported from ../bash-2.05a.tar.gz.
This commit is contained in:
parent
28ef6c316f
commit
f73dda092b
303 changed files with 37069 additions and 28812 deletions
4
list.c
4
list.c
|
@ -38,7 +38,7 @@ GENERIC_LIST global_error_list;
|
|||
void
|
||||
map_over_list (list, function)
|
||||
GENERIC_LIST *list;
|
||||
Function *function;
|
||||
sh_glist_func_t *function;
|
||||
{
|
||||
for ( ; list; list = list->next)
|
||||
(*function) (list);
|
||||
|
@ -48,7 +48,7 @@ map_over_list (list, function)
|
|||
void
|
||||
map_over_words (words, function)
|
||||
WORD_LIST *words;
|
||||
Function *function;
|
||||
sh_icpfunc_t *function;
|
||||
{
|
||||
for ( ; words; words = words->next)
|
||||
(*function) (words->word->word);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue