Return to funmap.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.22, 2005/12/13 06:01:27 | version 1.23, 2005/12/20 06:17:36 | ||
---|---|---|---|
|
|
||
complete_function_list(const char *fname) | complete_function_list(const char *fname) | ||
{ | { | ||
struct funmap *fn; | struct funmap *fn; | ||
struct list *head, *el; | struct list *head, *el; | ||
int len; | int len; | ||
len = strlen(fname); | len = strlen(fname); | ||
|
|
||
free_file_list(head); | free_file_list(head); | ||
return (NULL); | return (NULL); | ||
} | } | ||
el->l_name = fn->fn_name; | el->l_name = strdup(fn->fn_name); | ||
el->l_next = head; | el->l_next = head; | ||
head = el; | head = el; | ||
} | } |