Lst_Append returns void, so the other case of the ? statement
should also be void. Submitted by: stefanf
This commit is contained in:
parent
8444acb0e4
commit
49827c0228
@ -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