This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libiberty.h cleanup
- To: Marc Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Subject: Re: libiberty.h cleanup
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 14 Sep 1999 00:34:32 -0600
- Cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <19990906173525.A30229@liafa1.liafa.jussieu.fr>you write:
> On Thu, Sep 02, 1999 at 01:14:09AM -0600, Jeffrey A Law wrote:
> >
> > In message <19990901191243.A24999@tetto.liafa.jussieu.fr>you write:
> > > ChangeLog says it all.
> > >
> > > Wed Sep 1 13:42:40 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
> > > * libiberty.h (basename): OpenBSD has a correct prototype.
> > > (xrealloc): Remove outdated comment.
> > Has OpenBSD always had the right prototype? If not, can you give us some
> > kind of estimate of when OpenBSD fixed the prototype?
>
> libiberty has never included the file which holds that prototype on OpenBSD
> ,
> which is <libgen.h> (I've just grepped the src to check that the prototype
> always was there and not elsewhere).
>
> Unless libiberty starts hunting for libgen.h at some point in the future,
> there should not be any clash.
>
> I'll let you decide, but it looks pretty safe to me...
Thanks. Installed.
jeff