diff options
Diffstat (limited to 'cpukit/posix/src/conddestroy.c')
-rw-r--r-- | cpukit/posix/src/conddestroy.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cpukit/posix/src/conddestroy.c b/cpukit/posix/src/conddestroy.c index 1dadc0576f..ae9cbcde92 100644 --- a/cpukit/posix/src/conddestroy.c +++ b/cpukit/posix/src/conddestroy.c @@ -32,12 +32,6 @@ int pthread_cond_destroy( the_cond = _POSIX_Condition_variables_Get( cond, &location ); switch ( location ) { -#if defined(RTEMS_MULTIPROCESSING) - case OBJECTS_REMOTE: -#endif - case OBJECTS_ERROR: - return EINVAL; - case OBJECTS_LOCAL: @@ -71,6 +65,13 @@ int pthread_cond_destroy( #endif _Thread_Enable_dispatch(); return 0; + +#if defined(RTEMS_MULTIPROCESSING) + case OBJECTS_REMOTE: +#endif + case OBJECTS_ERROR: + break; } - return POSIX_BOTTOM_REACHED(); + + return EINVAL; } |