This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A protoype patch for cccp.c
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: A protoype patch for cccp.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 21 Jun 1998 21:12:38 -0600
- cc: egcs-patches at cygnus dot com, hjl at lucon dot org
- Reply-To: law at cygnus dot com
In message <199806220055.UAA27556@caip.rutgers.edu>you write:
> > From: hjl@lucon.org (H.J. Lu)
> >
> > Here is another patch.
> >
> > --
> > H.J. Lu (hjl@gnu.org)
> > ---
> > Sat Jun 20 09:08:15 1998 H.J. Lu (hjl@gnu.org)
> >
> > * cccp.c (strerror): Add prototype.
> >
>
> Should this code consolidate and move to system.h? Also,
> should we check GCC_NEED_DECLARATION(strerror)? (Is one of the headers
> checked by that autoconf macro the "standard" home for the strerror decl?)
I think it would be a good idea. Right now we've got a strerror
decl as well as a my_strerror function in the following files:
cccp.c
collect2.c
cpplib.c
gcc.c
protoize.c
Some of the various my_strerror definitions are slightly different --
some have VMS conditionals, others do not. It's somewhat of a mess.
jeff