diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-16 19:41:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-16 19:41:01 +0000 |
commit | 6020b4f9ceb7eb1d3a33fa9b0710743644098147 (patch) | |
tree | ff371ca93412ec1817b950dc1d3ab6d7926d0ac4 /cpukit | |
parent | 2002-04-10 Victor V. Vengerov <vvv@oktet.ru> (diff) | |
download | rtems-6020b4f9ceb7eb1d3a33fa9b0710743644098147.tar.bz2 |
2003-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 389/rtems
* src/no_posix.c: Correct _kill_r() prototype and make it conditional
on newlib.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libcsupport/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/no_posix.c | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index 273bcc5e31..ef41c427ff 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -1,3 +1,9 @@ +2003-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + PR 389/rtems + * src/no_posix.c: Correct _kill_r() prototype and make it conditional + on newlib. + 2003-04-03 Eri Valette <eric.valette@free.fr> PR 381/core diff --git a/cpukit/libcsupport/src/no_posix.c b/cpukit/libcsupport/src/no_posix.c index a845092173..ec601b8fcf 100644 --- a/cpukit/libcsupport/src/no_posix.c +++ b/cpukit/libcsupport/src/no_posix.c @@ -53,11 +53,15 @@ int kill( pid_t pid, int sig ) return 0; } -int _kill_r( pid_t pid, int sig ) +#if defined(RTEMS_NEWLIB) +#include <sys/reent.h> + +int _kill_r( struct _reent *ptr, pid_t pid, int sig ) { return 0; } #endif +#endif int __kill( pid_t pid, int sig ) { |