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:
parent
7af691a784
commit
1251555311
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue