From 6020b4f9ceb7eb1d3a33fa9b0710743644098147 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 Apr 2003 19:41:01 +0000 Subject: 2003-04-16 Ralf Corsepius PR 389/rtems * src/no_posix.c: Correct _kill_r() prototype and make it conditional on newlib. --- cpukit/libcsupport/ChangeLog | 6 ++++++ cpukit/libcsupport/src/no_posix.c | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'cpukit/libcsupport') 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 + + PR 389/rtems + * src/no_posix.c: Correct _kill_r() prototype and make it conditional + on newlib. + 2003-04-03 Eri Valette 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 + +int _kill_r( struct _reent *ptr, pid_t pid, int sig ) { return 0; } #endif +#endif int __kill( pid_t pid, int sig ) { -- cgit v1.2.3