Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Aberg <martin@fripost.org>2017-12-17 21:23:51 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-12-18 21:58:05 +0300
commit1251555311100fc04550201f838a22c3193821ad (patch)
tree09f84fa444d08ee113ca3a727aab3f259a9508d5
parent7af691a7848f808d629a8c18fe3b7a6aed9b9870 (diff)
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.
-rw-r--r--newlib/libc/include/sys/signal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index ab35718ae..70ff15d01 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -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));