Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/string.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 2770c41cf..0d19e35d4 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index 99990da8b..9962768cf 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -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