This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Libiberty: POSIXify psignal definition
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Corinna Vinschen <vinschen at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 May 2011 16:33:30 +0100
- Subject: Re: Libiberty: POSIXify psignal definition
- References: <20110505073039.GA23122@calimero.vinschen.de>
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.