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/libcsupport/src/no_posix.c | |
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/libcsupport/src/no_posix.c')
-rw-r--r-- | cpukit/libcsupport/src/no_posix.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 ) { |