* libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.

This commit is contained in:
Corinna Vinschen 2014-08-18 18:18:10 +00:00
parent 6811cfb0b9
commit d5fd6aeb6d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-18 Corinna Vinschen <vinschen@redhat.com>
* libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.
2014-08-18 Jeff Johnston <jjohnstn@redhat.com> 2014-08-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE * libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE

View File

@ -192,10 +192,11 @@ int _EXFUN(sigpending, (sigset_t *));
int _EXFUN(sigsuspend, (const sigset_t *)); int _EXFUN(sigsuspend, (const sigset_t *));
int _EXFUN(sigpause, (int)); int _EXFUN(sigpause, (int));
#ifdef __rtems__
#if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112 #if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112
int _EXFUN(sigaltstack, (const stack_t *__restrict, stack_t *__restrict)); int _EXFUN(sigaltstack, (const stack_t *__restrict, stack_t *__restrict));
#endif #endif
#endif
#if defined(_POSIX_THREADS) #if defined(_POSIX_THREADS)
#ifdef __CYGWIN__ #ifdef __CYGWIN__