diff options
Diffstat (limited to 'cpukit/libcsupport')
-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 ) { |