Libiberty: POSIXify psignal definition

Richard Earnshaw rearnsha@arm.com
Tue May 17 18:28:00 GMT 2011


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.






More information about the Gcc-patches mailing list