__* in installed headers

Roland McGrath roland@frob.com
Mon Aug 10 00:05:00 GMT 1998


> The solution I have in mind is to move over the __* prototypes to the
> headers in include/ and make sure we search while compiling glibc
> always there first.
> 
> Comments?

I worry about the hassle and error potential of having two identical decls
(except for the __) that are no longer right next to each other.  That is,
the hassle in making sure they stay in fact identical.

Also, your suggestion in particular makes me uncomfortable.  I don't like
the idea of <stdlib.h> in libc sources not getting the same <stdlib.h> that
users get.  Just seems like asking for trouble when some obscure bug slips
quietly by.




More information about the Libc-hacker mailing list