[newlib-cygwin] libc/machine/cris/sys/signal.h (kill): Declare.

Hans-Peter Nilsson hp@sourceware.org
Thu Sep 3 00:01:00 GMT 2015


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

commit 82d7069a5e92630ee8d8c539136e0a2afa7728bb
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date:   Thu Sep 3 01:59:43 2015 +0200

    libc/machine/cris/sys/signal.h (kill): Declare.

Diff:
---
 newlib/ChangeLog                      | 4 ++++
 newlib/libc/machine/cris/sys/signal.h | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a19a908..ba94847 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-03  Hans-Peter Nilsson  <hp@axis.com>
+
+	* libc/machine/cris/sys/signal.h (kill): Declare.
+
 2015-08-29  Corinna Vinschen  <corinna@vinschen.de>
 
 	* include/sys/unistd.h (_SC_LEVEL*): Add cache-related variables as
diff --git a/newlib/libc/machine/cris/sys/signal.h b/newlib/libc/machine/cris/sys/signal.h
index 081a75f..9cb7ba5 100644
--- a/newlib/libc/machine/cris/sys/signal.h
+++ b/newlib/libc/machine/cris/sys/signal.h
@@ -44,6 +44,10 @@ struct sigaction {
 
 int sigprocmask (int __how, const sigset_t *__a, sigset_t *__b);
 
+/* The first argument is really a pid_t, but that's just a typedef'd
+   int, so let's avoid requiring sys/types only for this declaration.  */
+int kill (int, int);
+
 #define SIGHUP		 1
 #define SIGINT		 2
 #define SIGQUIT		 3



More information about the Newlib-cvs mailing list