Resolve shadow conflict with 'link' local

This commit is contained in:
Brian Behlendorf 2008-12-12 10:24:38 -08:00
parent 444bdde2f2
commit d06634c325
1 changed files with 5 additions and 5 deletions

View File

@ -226,16 +226,16 @@ list_link_replace(list_node_t *lold, list_node_t *lnew)
}
void
list_link_init(list_node_t *link)
list_link_init(list_node_t *ln)
{
link->list_next = NULL;
link->list_prev = NULL;
ln->list_next = NULL;
ln->list_prev = NULL;
}
int
list_link_active(list_node_t *link)
list_link_active(list_node_t *ln)
{
return (link->list_next != NULL);
return (ln->list_next != NULL);
}
int