summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-04-16 19:41:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-04-16 19:41:01 +0000
commit6020b4f9ceb7eb1d3a33fa9b0710743644098147 (patch)
treeff371ca93412ec1817b950dc1d3ab6d7926d0ac4 /cpukit/libcsupport
parent2002-04-10 Victor V. Vengerov <vvv@oktet.ru> (diff)
downloadrtems-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')
-rw-r--r--cpukit/libcsupport/ChangeLog6
-rw-r--r--cpukit/libcsupport/src/no_posix.c6
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 )
{