Re: [Evms-devel] Re: [PATCH] EVMS core 2/4: evms.h

Mark Peloquin
2002-10-04T13:47:42Z

On 10/04/2002 at 7:28 AM, Robert Varga wrote:
<snip...>
> Possibly shortened to:

> static inline int list_member(struct list_head *member)
> {
> return member->next && member->prev;
> }

> Faster, and (at least to me) it looks more obvious.

Yes, this may be shorter. However with this change
the return type would also need to be changed to
portable across archs.

Mark