Lst_Append returns void, so the other case of the ? statement

should also be void.

Submitted by:	stefanf
This commit is contained in:
harti 2005-02-10 14:25:12 +00:00
parent 8444acb0e4
commit 49827c0228

View File

@ -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 *);