diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 08:07:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 08:07:50 +0000 |
commit | e8dc3d32c471e6c053bf105fd0a0778af0a3f608 (patch) | |
tree | 4e10a7edc8dd424836cc0888d002086a716f7a5e /testsuites/sptests/sp09 | |
parent | 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e8dc3d32c471e6c053bf105fd0a0778af0a3f608.tar.bz2 |
2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp09/screen09.c: Eliminate unused var warning.
Diffstat (limited to 'testsuites/sptests/sp09')
-rw-r--r-- | testsuites/sptests/sp09/screen09.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/sptests/sp09/screen09.c b/testsuites/sptests/sp09/screen09.c index 5d50ec9667..6e0d510af2 100644 --- a/testsuites/sptests/sp09/screen09.c +++ b/testsuites/sptests/sp09/screen09.c @@ -22,9 +22,8 @@ void Screen9() { void *converted; rtems_status_code status; - rtems_isr_entry old_service_routine; - #if ((CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) || \ +#if ((CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) || \ defined(_C3x) || defined(_C4x)) puts( "TA1 - rtems_interrupt_catch - " @@ -33,7 +32,8 @@ void Screen9() puts( "TA1 - rtems_interrupt_catch - " "old isr RTEMS_INVALID_ADDRESS - SKIPPED" ); - #else +#else + rtems_isr_entry old_service_routine; status = rtems_interrupt_catch( Service_routine, ISR_INTERRUPT_MAXIMUM_VECTOR_NUMBER + 10, @@ -61,7 +61,7 @@ void Screen9() "rtems_interrupt_catch with invalid old isr pointer" ); puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" ); - #endif +#endif /* send invalid id */ status = rtems_signal_send( 100, RTEMS_SIGNAL_1 ); |