summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-09 12:55:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-09 12:55:15 +0000
commitf118085d516bc3eac2424037eef6d3cc71231770 (patch)
tree7d54d1db98fade27c2b31aed1a4172277c43e46e /cpukit/posix
parent2002-08-09 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-f118085d516bc3eac2424037eef6d3cc71231770.tar.bz2
2002-08-09 Joel Sherrill <joel@OARcorp.com>
* src/cancelrun.c: Remove check for PTHREAD_CANCELED not being defined to ensure that newlib patch includes it.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/ChangeLog5
-rw-r--r--cpukit/posix/src/cancelrun.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index 8422affe62..c14111f776 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-09 Joel Sherrill <joel@OARcorp.com>
+
+ * src/cancelrun.c: Remove check for PTHREAD_CANCELED not being defined
+ to ensure that newlib patch includes it.
+
2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/mqueuecreatesupp.c: #include <stdlib.h> (malloc).
diff --git a/cpukit/posix/src/cancelrun.c b/cpukit/posix/src/cancelrun.c
index 4806e6d378..fb93e1958f 100644
--- a/cpukit/posix/src/cancelrun.c
+++ b/cpukit/posix/src/cancelrun.c
@@ -24,11 +24,6 @@
*
*/
-#if !defined(PTHREAD_CANCELED)
-#warning "PTHREAD_CANCELED NOT DEFINED -- patch newlib"
-#define PTHREAD_CANCELED ((void *) -1)
-#endif
-
void _POSIX_Threads_cancel_run(
Thread_Control *the_thread
)