llist_t and llist_pop

Robert P. J. Day rpjday at mindspring.com
Fri May 19 13:58:03 UTC 2006


On Fri, 19 May 2006, Yann E. MORIN wrote:

> On Friday 19 May 2006 153, Robert P. J. Day wrote:
> > On Fri, 19 May 2006, Yann E. MORIN wrote:
> [--SNIP: llist_pop returns data (which is char*) as a void* --]
> > because a "void*" can represent a pointer to anything.
>
> I know that.
> The real question was: why is it stored as a char* in the first place?

ah, sorry, i misread your post.  you're right.  you'd think they
should all be "void*", wouldn't you?

rday



More information about the busybox mailing list