From dbfa92dd947cb26ebfec42c756eb36aa3b7571e5 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 24 Jan 2005 18:46:09 +0000 Subject: 2005-01-24 Jeff Johnston * libc/include/string.h: Remove Linux-specific declaration of strsignal and add #include . * libc/include/sys/string.h: New file. * libc/include/sys/linux/sys/string.h: New file with strsignal declaration deleted above. --- newlib/libc/include/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/include/string.h') diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index bbc66d469..30756b7ca 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -75,8 +75,6 @@ char *_EXFUN(strupr,(char *)); const char *_EXFUN(strsignal, (int __signo)); #endif int _EXFUN(strtosigno, (const char *__name)); -#elif defined(__linux__) -char *_EXFUN(strsignal, (int __signo)); #endif /* These function names are used on Windows and perhaps other systems. */ @@ -95,6 +93,8 @@ char *_EXFUN(strsignal, (int __signo)); #endif /* ! __STRICT_ANSI__ */ +#include + _END_STD_C #endif /* _STRING_H_ */ -- cgit v1.2.3