This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: __* in installed headers
- To: drepper@cygnus.com (Ulrich Drepper)
- Subject: Re: __* in installed headers
- From: Roland McGrath <roland@frob.com>
- Date: Mon, 10 Aug 1998 03:05:17 -0400
- Cc: libc-hacker@cygnus.com
> 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.