From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44315 invoked by alias); 18 Dec 2017 19:01:14 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 44226 invoked by uid 9078); 18 Dec 2017 19:01:12 -0000 Date: Mon, 18 Dec 2017 19:01:00 -0000 Message-ID: <20171218190112.44223.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: Availability of _kill() in sys/signal.h X-Act-Checkin: newlib-cygwin X-Git-Author: Martin Aberg X-Git-Refname: refs/heads/master X-Git-Oldrev: 7af691a7848f808d629a8c18fe3b7a6aed9b9870 X-Git-Newrev: 1251555311100fc04550201f838a22c3193821ad X-SW-Source: 2017-q4/txt/msg00083.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1251555311100fc04550201f838a22c3193821ad commit 1251555311100fc04550201f838a22c3193821ad Author: Martin Aberg 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 consistent with the use of _COMPILING_NEWLIB in , , 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));