From a800b3ae9c99212ad7174d03b025db898ddb5574 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 4 Dec 2014 09:15:50 +0000 Subject: * libc/include/sys/signal.h [__SPU__] (kill): Declare. --- newlib/libc/include/sys/signal.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'newlib/libc/include/sys/signal.h') 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)); -- cgit v1.2.3