[rtems commit] tests: Fix warning
Sebastian Huber
sebh at rtems.org
Thu Mar 5 10:35:54 UTC 2015
Module: rtems
Branch: master
Commit: 6fd5b4e486e32cd4dc4714d182145dd6542a7555
Changeset: http://git.rtems.org/rtems/commit/?id=6fd5b4e486e32cd4dc4714d182145dd6542a7555
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Mar 5 10:26:30 2015 +0100
tests: Fix warning
---
cpukit/libmisc/testsupport/testextension.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cpukit/libmisc/testsupport/testextension.c b/cpukit/libmisc/testsupport/testextension.c
index f59ae0d..a689e66 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(
More information about the vc
mailing list