diff options
Diffstat (limited to 'cpukit/rtems/src/timercancel.c')
-rw-r--r-- | cpukit/rtems/src/timercancel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/rtems/src/timercancel.c b/cpukit/rtems/src/timercancel.c index 562524ede9..fd8d1bee32 100644 --- a/cpukit/rtems/src/timercancel.c +++ b/cpukit/rtems/src/timercancel.c @@ -2,7 +2,7 @@ * Timer Manager - rtems_timer_cancel directive * * - * COPYRIGHT (c) 1989-2002. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -48,8 +48,10 @@ rtems_status_code rtems_timer_cancel( the_timer = _Timer_Get( id, &location ); switch ( location ) { +#if defined(RTEMS_MULTIPROCESSING) case OBJECTS_REMOTE: /* should never return this */ return RTEMS_INTERNAL_ERROR; +#endif case OBJECTS_ERROR: return RTEMS_INVALID_ID; |