summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-28 18:12:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-28 18:12:43 +0000
commit7cdaed0d00c30de1eaa1accb6c4f71b018bc634b (patch)
treebc19ff6fa042e5c958adadda593eec15cfb90b61 /cpukit/posix/src
parentRegenerate. (diff)
downloadrtems-7cdaed0d00c30de1eaa1accb6c4f71b018bc634b.tar.bz2
2008-04-28 Daron Chabot <daron.chabot@usask.ca>
* posix/src/keycreate.c, posix/src/pthreadequal.c, rtems/src/semtranslatereturncode.c, score/cpu/powerpc/rtems/score/powerpc.h, score/src/threadblockingoperationcancel.c: Fix compilation errors when --enable-rtems-debug is used.
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r--cpukit/posix/src/keycreate.c2
-rw-r--r--cpukit/posix/src/pthreadequal.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/keycreate.c b/cpukit/posix/src/keycreate.c
index b54a25812a..df5cec3241 100644
--- a/cpukit/posix/src/keycreate.c
+++ b/cpukit/posix/src/keycreate.c
@@ -70,7 +70,7 @@ int pthread_key_create(
_Internal_error_Occurred(
INTERNAL_ERROR_CORE,
TRUE,
- INTERNAL_ERROR_IMPLEMENTATION
+ INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY
);
#endif
bytes_to_allocate = sizeof( void * ) *
diff --git a/cpukit/posix/src/pthreadequal.c b/cpukit/posix/src/pthreadequal.c
index 8d82d8d545..5fbe0c4f5e 100644
--- a/cpukit/posix/src/pthreadequal.c
+++ b/cpukit/posix/src/pthreadequal.c
@@ -70,7 +70,9 @@ int pthread_equal(
break;
case OBJECTS_ERROR:
+#if defined(RTEMS_MULTIPROCESSING)
case OBJECTS_REMOTE:
+#endif
/* t1 must have been valid so exit the critical section */
_Thread_Enable_dispatch();
/* return status == 0 */