Fixed syntax error by recent changes to the queue macros.

This commit is contained in:
KATO Takenori 1998-02-26 03:20:41 +00:00
parent e4f980d3e4
commit 3ce6f1bf50
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33841

View file

@ -64,7 +64,7 @@ DEV##_init_ccbque(count) \
int count; \
{ \
if (CCBTYPE##que.maxccb == 0) \
TAILQ_INIT(&CCBTYPE##que.CCBTYPE##tab) \
TAILQ_INIT(&CCBTYPE##que.CCBTYPE##tab); \
CCBTYPE##que.maxccb += count; \
} \
\
@ -82,7 +82,7 @@ again: \
cb = CCBTYPE##que.CCBTYPE##tab.tqh_first; \
if (cb != NULL) \
{ \
TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN)\
TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN);\
goto out; \
} \
else \
@ -116,7 +116,7 @@ DEV##_free_ccb(cb) \
{ \
int s = splbio(); \
\
TAILQ_INSERT_TAIL(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN) \
TAILQ_INSERT_TAIL(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN); \
CCBTYPE##que.count --; \
\
if (CCBTYPE##que.flags & CCB_MWANTED) \