diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2015-09-03 02:59:43 +0300 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2015-09-03 02:59:43 +0300 |
commit | 82d7069a5e92630ee8d8c539136e0a2afa7728bb (patch) | |
tree | 513b25e455f92007adb1e64abb69e0e8f61badab | |
parent | 5a3d536ce12474de24e5f9054cb4d2ba6f87fe38 (diff) |
libc/machine/cris/sys/signal.h (kill): Declare.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/machine/cris/sys/signal.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a19a908c4..ba948472f 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 081a75fe9..9cb7ba530 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 |