From d51d968a8067b6875b230b7c3e9bb88b5cbd1aaa Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 3 Jun 2000 03:03:03 +0000 Subject: [PATCH] * libc/include/string.h: Work around problem with strsignal and gdb. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/string.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b7499e766..25c23bab5 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 2 23:02:11 2000 Christopher Faylor + + * libc/include/string.h: Work around problem with strsignal and gdb. + Tue May 30 13:13:01 2000 Christopher Faylor * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__ diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index 557800e14..7d5bd45af 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -67,7 +67,9 @@ char *_EXFUN(strsep,(char **, const char *)); 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)); +#endif int _EXFUN(strtosigno, (const char *__name)); #endif void _EXFUN(swab,(const void *, void *, ssize_t));