This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __* in installed headers


> 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]