mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use macro API to <sys/queue.h>
This commit is contained in:
parent
95ba77bff8
commit
c8f71496f7
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ DEV##_get_ccb() \
|
|||
if (CCBTYPE##que.count < CCBTYPE##que.maxccb) \
|
||||
{ \
|
||||
CCBTYPE##que.count ++; \
|
||||
cb = CCBTYPE##que.CCBTYPE##tab.tqh_first; \
|
||||
cb = TAILQ_FIRST(&(CCBTYPE##que.CCBTYPE##tab)); \
|
||||
if (cb != NULL) \
|
||||
{ \
|
||||
TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN);\
|
||||
|
|
|
|||
Loading…
Reference in a new issue