From 82d7069a5e92630ee8d8c539136e0a2afa7728bb Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 3 Sep 2015 01:59:43 +0200 Subject: [PATCH] libc/machine/cris/sys/signal.h (kill): Declare. --- 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 a19a908c4..ba948472f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2015-09-03 Hans-Peter Nilsson + + * libc/machine/cris/sys/signal.h (kill): Declare. + 2015-08-29 Corinna Vinschen * 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