newlib: Availability of _kill() in sys/signal.h

Make prototype of _kill() always visible when _COMPILING_NEWLIB is
defined. This makes <sys/signal.h> consistent with the use of
_COMPILING_NEWLIB in <sys/unistd.h>, <sys/times.h>, etc.
This commit is contained in:
Martin Aberg 2017-12-17 19:23:51 +01:00 committed by Corinna Vinschen
parent 7af691a784
commit 1251555311
1 changed files with 0 additions and 2 deletions

View File

@ -168,11 +168,9 @@ 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
#if defined(__CYGWIN__) || defined(__rtems__)
#ifdef _COMPILING_NEWLIB
int _EXFUN(_kill, (pid_t, int));
#endif /* _COMPILING_NEWLIB */
#endif /* __CYGWIN__ || __rtems__ */
#if __POSIX_VISIBLE
int _EXFUN(kill, (pid_t, int));