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

should also be void.

Submitted by:	stefanf
This commit is contained in:
Hartmut Brandt 2005-02-10 14:25:12 +00:00
parent 6628aaee13
commit 51079b278c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141645

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