summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spnsext01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 10:11:23 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 11:23:10 +0100
commitd00612875b5a4bb00c9a7270bd9cefd02a8a27ab (patch)
tree633b8f66f9ad5b95b99f3f7fe9f2d6153c87b3f2 /testsuites/sptests/spnsext01
parentlibchip/serial: Fix warning (diff)
downloadrtems-d00612875b5a4bb00c9a7270bd9cefd02a8a27ab.tar.bz2
tests: Fix warnings
Diffstat (limited to 'testsuites/sptests/spnsext01')
-rw-r--r--testsuites/sptests/spnsext01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spnsext01/init.c b/testsuites/sptests/spnsext01/init.c
index 89f0b8f825..1a10736611 100644
--- a/testsuites/sptests/spnsext01/init.c
+++ b/testsuites/sptests/spnsext01/init.c
@@ -23,7 +23,7 @@ const char rtems_test_name[] = "SPNSEXT 1";
static rtems_task Init(rtems_task_argument argument)
{
rtems_status_code sc = RTEMS_SUCCESSFUL;
- rtems_interrupt_lock lock;
+ RTEMS_INTERRUPT_LOCK_DECLARE(, lock)
rtems_interrupt_lock_context lock_context;
rtems_interval t0 = 0;
rtems_interval t1 = 0;