This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Libiberty: POSIXify psignal definition


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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]