Make string.h strsignal prototype return const char *

Jeff Johnston jjohnstn@redhat.com
Fri Jan 21 21:21:00 GMT 2005


Hans-Peter Nilsson wrote:
>>Date: Fri, 21 Jan 2005 13:52:22 -0500
>>From: Jeff Johnston <jjohnstn@redhat.com>
> 
> 
>>An alternative to your solution would be to move the strsignal declaration out 
>>of string.h and into a new libc/sys/linux/sys/string.h.  Have string.h #include 
>><sys/string.h>.  In libc/include/sys/string.h have a placeholder comment.  With 
>>the exception of sys/config.h I'm not too keen on having linux-only stuff in 
>>shared header files, especially since libc/sys/linux overrides many headers 
>>already to avoid this mess.
> 
> 
> That does seem like a cleaner solution.
> 
> 
>>If I put this together, would you be willing to try it out?
> 
> 
> Sure!
> 

Great, here it is.  Let me know.

-- Jeff J.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strsignal.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20050121/35ecf56a/attachment.ksh>


More information about the Newlib mailing list