X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=lib%2Flibspl%2Flist.c;h=b29dc8a873fc50ca79d743fac7eb63c1649fe206;hb=a1d9543a39942be56879ca9338078afc77c25cea;hp=e8db13a5cf68bb927f949b99f056dad7d91fa869;hpb=b453b61272db34cd097f8636f57033785b00d932;p=zfs.git diff --git a/lib/libspl/list.c b/lib/libspl/list.c index e8db13a..b29dc8a 100644 --- a/lib/libspl/list.c +++ b/lib/libspl/list.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Generic doubly-linked list implementation */ @@ -226,16 +224,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