diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-12-04 12:15:50 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-12-04 12:15:50 +0300 |
commit | a800b3ae9c99212ad7174d03b025db898ddb5574 (patch) | |
tree | 0a02987eccf388befe14f9f8f47d9f00a2db3d53 /newlib | |
parent | 8c049028d9d8057a390deb15852695e882996469 (diff) |
* libc/include/sys/signal.h [__SPU__] (kill): Declare.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/signal.h | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fa98a7cdb..71ff131a2 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2014-12-04 Ulrich Weigand <uweigand@de.ibm.com> + Corinna Vinschen <vinschen@redhat.com> + + * libc/include/sys/signal.h [__SPU__] (kill): Declare. + 2014-12-03 Jeff Johnston <jjohnstn@redhat.com> * libc/include/inttypes.h: Only enable the 8-bit scanning macros diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index 82802e2a1..a29f525c1 100644 --- a/newlib/libc/include/sys/signal.h +++ b/newlib/libc/include/sys/signal.h @@ -169,7 +169,6 @@ int _EXFUN(sigprocmask, (int how, const sigset_t *set, sigset_t *oset)); int _EXFUN(pthread_sigmask, (int how, const sigset_t *set, sigset_t *oset)); #endif -/* protos for functions found in winsup sources for CYGWIN */ #if defined(__CYGWIN__) || defined(__rtems__) #undef sigaddset #undef sigdelset @@ -179,8 +178,12 @@ int _EXFUN(pthread_sigmask, (int how, const sigset_t *set, sigset_t *oset)); #ifdef _COMPILING_NEWLIB int _EXFUN(_kill, (pid_t, int)); -#endif +#endif /* _COMPILING_NEWLIB */ +#endif /* __CYGWIN__ || __rtems__ */ +#if defined(__CYGWIN__) || defined(__rtems__) || defined(__SPU__) int _EXFUN(kill, (pid_t, int)); +#endif /* __CYGWIN__ || __rtems__ || __SPU__ */ +#if defined(__CYGWIN__) || defined(__rtems__) int _EXFUN(killpg, (pid_t, int)); int _EXFUN(sigaction, (int, const struct sigaction *, struct sigaction *)); int _EXFUN(sigaddset, (sigset_t *, const int)); |