mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/string.h: Remove Linux-specific declaration of strsignal and add #include <sys/string.h>. * libc/include/sys/string.h: New file. * libc/include/sys/linux/sys/string.h: New file with strsignal declaration deleted above.
This commit is contained in:
parent
d96324a5a8
commit
dbfa92dd94
@ -1,3 +1,11 @@
|
||||
2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/include/string.h: Remove Linux-specific declaration of
|
||||
strsignal and add #include <sys/string.h>.
|
||||
* libc/include/sys/string.h: New file.
|
||||
* libc/include/sys/linux/sys/string.h: New file with strsignal
|
||||
declaration deleted above.
|
||||
|
||||
2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/time/strftime.c (strftime): Change %r and %x to be compliant
|
||||
|
@ -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 <sys/string.h>
|
||||
|
||||
_END_STD_C
|
||||
|
||||
#endif /* _STRING_H_ */
|
||||
|
2
newlib/libc/include/sys/string.h
Normal file
2
newlib/libc/include/sys/string.h
Normal file
@ -0,0 +1,2 @@
|
||||
/* This is a dummy <sys/string.h> used as a placeholder for
|
||||
systems that need to have a special header file. */
|
8
newlib/libc/sys/linux/sys/string.h
Normal file
8
newlib/libc/sys/linux/sys/string.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef _SYS_STRING_H
|
||||
#define _SYS_STRING_H
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
char *_EXFUN(strsignal, (int __signo));
|
||||
#endif
|
||||
|
||||
#endif /* _SYS_STRING_H */
|
Loading…
x
Reference in New Issue
Block a user