Use macro API to <sys/queue.h>

Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
This commit is contained in:
Poul-Henning Kamp 2000-12-30 21:02:25 +00:00
parent 2673ed4725
commit baba280c68

View File

@ -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) {