mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
Use macro API to <sys/queue.h>
This commit is contained in:
parent
95ba77bff8
commit
c8f71496f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71988
@ -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 New Issue
Block a user