Make string.h strsignal prototype return const char *

Jeff Johnston jjohnstn@redhat.com
Mon Jan 24 18:50:00 GMT 2005


Hans-Peter Nilsson wrote:
>>Date: Fri, 21 Jan 2005 16:21:02 -0500
>>From: Jeff Johnston <jjohnstn@redhat.com>
> 
> 
>>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.
> 
> 
> Your patch implementing this works; no surprise there.
> 
> 
>>Index: libc/sys/linux/sys/string.h
> 
> ...
> 
>>+#endif /* _SYS_STRING_H */
>>+
>>+
> 
> 
> Beware of spurious newlines at the end of that file.
>

Patch checked in.  Spurious newlines removed.

-- Jeff J.



More information about the Newlib mailing list