public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: Availability of _kill() in sys/signal.h
@ 2017-12-18 19:01 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2017-12-18 19:01 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1251555311100fc04550201f838a22c3193821ad

commit 1251555311100fc04550201f838a22c3193821ad
Author: Martin Aberg <martin@fripost.org>
Date:   Sun Dec 17 19:23:51 2017 +0100

    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.

Diff:
---
 newlib/libc/include/sys/signal.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index ab35718..70ff15d 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));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-18 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-18 19:01 [newlib-cygwin] newlib: Availability of _kill() in sys/signal.h Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).