summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 08:07:50 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 08:07:50 +0000
commite8dc3d32c471e6c053bf105fd0a0778af0a3f608 (patch)
tree4e10a7edc8dd424836cc0888d002086a716f7a5e /testsuites/sptests/sp09
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-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.c8
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 );