llist_t and llist_pop
Yann E. MORIN
yann.morin.1998 at anciens.enib.fr
Fri May 19 15:15:20 UTC 2006
On Friday 19 May 2006 155, Robert P. J. Day wrote:
> 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?
Yep, exactly. I'll submit a patch which changes every occurences of char* with
void*. Along with the switch to void* in llist, of course!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< °_° >==-- °---.----------------: X AGAINST | /e\ There is no |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL | """ conspiracy. |
°---------------------°----------------°------------------°--------------------°
More information about the busybox
mailing list