Use macro API to <sys/queue.h>
Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: /sbin/md5
This commit is contained in:
parent
2673ed4725
commit
baba280c68
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70521
@ -51,7 +51,7 @@ find_callback(u_long vec)
|
||||
struct callback *elm;
|
||||
|
||||
head = &cbhead[CBHASH(vec)];
|
||||
for (elm = head->lh_first; elm; elm = elm->chain.le_next)
|
||||
LIST_FOREACH(elm, head, chain)
|
||||
if (elm->vec == vec)
|
||||
break;
|
||||
if (elm) {
|
||||
|
Loading…
Reference in New Issue
Block a user