summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 10:26:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 11:23:10 +0100
commit6fd5b4e486e32cd4dc4714d182145dd6542a7555 (patch)
treeac1257ed2d06b37ba73a96bdb31500c8d80d4da8
parentd00612875b5a4bb00c9a7270bd9cefd02a8a27ab (diff)
downloadrtems-6fd5b4e486e32cd4dc4714d182145dd6542a7555.tar.bz2
tests: Fix warning
-rw-r--r--cpukit/libmisc/testsupport/testextension.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libmisc/testsupport/testextension.c b/cpukit/libmisc/testsupport/testextension.c
index f59ae0d3ee..a689e66792 100644
--- a/cpukit/libmisc/testsupport/testextension.c
+++ b/cpukit/libmisc/testsupport/testextension.c
@@ -22,8 +22,7 @@
#if defined(RTEMS_PROFILING)
static bool report_done;
-static rtems_interrupt_lock report_lock =
- RTEMS_INTERRUPT_LOCK_INITIALIZER( "test report" );
+RTEMS_INTERRUPT_LOCK_DEFINE( static, report_lock, "test report" )
#endif
void rtems_test_fatal_extension(