Per Posix, strsignal returns non-const char*.

* libc/include/string.h (strsignal): Fix return type.
This commit is contained in:
Eric Blake 2008-06-18 15:27:41 +00:00
parent 9c8883d423
commit 8fa475e4b1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-18 Eric Blake <ebb9@byu.net>
Per Posix, strsignal returns non-const char*.
* libc/include/string.h (strsignal): Fix return type.
2008-06-17 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall

View File

@ -76,7 +76,7 @@ char *_EXFUN(strlwr,(char *));
char *_EXFUN(strupr,(char *));
#ifdef __CYGWIN__
#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
const char *_EXFUN(strsignal, (int __signo));
char *_EXFUN(strsignal, (int __signo));
#endif
int _EXFUN(strtosigno, (const char *__name));
#endif