diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-05 10:11:23 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-05 11:23:10 +0100 |
commit | d00612875b5a4bb00c9a7270bd9cefd02a8a27ab (patch) | |
tree | 633b8f66f9ad5b95b99f3f7fe9f2d6153c87b3f2 /testsuites/tmtests/tmcontext01 | |
parent | libchip/serial: Fix warning (diff) | |
download | rtems-d00612875b5a4bb00c9a7270bd9cefd02a8a27ab.tar.bz2 |
tests: Fix warnings
Diffstat (limited to 'testsuites/tmtests/tmcontext01')
-rw-r--r-- | testsuites/tmtests/tmcontext01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/tmtests/tmcontext01/init.c b/testsuites/tmtests/tmcontext01/init.c index a27cf82a01..f9890e63fb 100644 --- a/testsuites/tmtests/tmcontext01/init.c +++ b/testsuites/tmtests/tmcontext01/init.c @@ -139,7 +139,7 @@ static void sort_t(void) static void test_by_function_level(int fl, bool dirty) { - rtems_interrupt_lock lock; + RTEMS_INTERRUPT_LOCK_DECLARE(, lock) rtems_interrupt_lock_context lock_context; int s; uint64_t min; |