public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] newlib: Availability of _kill() in sys/signal.h
Date: Mon, 18 Dec 2017 19:01:00 -0000	[thread overview]
Message-ID: <20171218190112.44223.qmail@sourceware.org> (raw)

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));


                 reply	other threads:[~2017-12-18 19:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171218190112.44223.qmail@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).