This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Libiberty: POSIXify psignal definition
On May 17 16:33, Richard Earnshaw wrote:
>
> On Thu, 2011-05-05 at 09:30 +0200, Corinna Vinschen wrote:
> > [Please keep me CCed, I'm not subscribed to gcc-patches. Thank you]
> >
> > Hi,
> >
> > the definition of psignal in libiberty is
> >
> > void psignal (int, char *);
> >
> > The correct definition per POSIX is
> >
> > void psignal (int, const char *);
> >
> > The below patch fixes that.
> >
> >
> > Thanks,
> > Corinna
> >
> >
> > * strsignal.c (psignal): Change second parameter to const char *.
> > Fix comment accordingly.
> >
>
> OK.
>
> R.
Thanks. I just have no check in rights to the gcc repository. I applied
the change to the sourceware CVS repository but for gcc I need a proxy.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat