mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Lst_Append returns void, so the other case of the ? statement
should also be void. Submitted by: stefanf
This commit is contained in:
parent
6628aaee13
commit
51079b278c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141645
@ -175,7 +175,7 @@ void Lst_ForEachFrom(Lst *, LstNode *, DoProc *, void *);
|
||||
/* Place an element at tail of queue */
|
||||
#define Lst_EnQueue(LST, D) (Lst_Valid(LST) \
|
||||
? Lst_Append((LST), Lst_Last(LST), (D)) \
|
||||
: FAILURE)
|
||||
: (void)0)
|
||||
/* Remove an element from head of queue */
|
||||
void *Lst_DeQueue(Lst *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user