This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: a question about fix-header.c
Bruce Korb <bkorb@veritas.com> writes:
> "fix-header.c" fixes headers just like "fixincludes", but in a much
> different way and it _still_ lives in the gcc directory. Its job is
> to ensure that POSIX defined interfaces are in their correct header
> files. "free" is among the interfaces it wants to ensure exists in
> stdlib.h. fix-header and fixincludes don't cooperate very well. It
> would be good to munge any useful stuff fix-header does into
> fixincludes.
IMO fix-header should just be deleted. What it does is only useful
when your C library was written in K+R days, and even then it's
arguable.
zw