(3.0.7) Why isn't prs_alloc_mem returning a void *?

John E. Malmberg wb8tyw at qsl.net
Sun Oct 10 03:27:13 GMT 2004


The routine parse_prs.c/prs_alloc_mem is currently declared returning a 
pointer to char instead of a pointer to void.

This is causing casts to be required almost everywhere it is used.

It would seem to me that it's usage indicates that it should be declared 
as returning a pointer to void, which would simplify the modules that 
call it.

-John
wb8tyw at qsl.net
Persaonl Opinion Only



More information about the samba-technical mailing list