diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-04 14:55:43 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-04 14:56:11 -0600 |
commit | 1a3c611c45748fcce0b0525c32c258897e924895 (patch) | |
tree | 2091258b2c951a0e7f45e77c37a3ba03bb0b5a31 | |
parent | libdl/rtl-mdreloc-bfin.c: Include rtems/rtl/rtl.h not rtl.h (diff) | |
download | rtems-1a3c611c45748fcce0b0525c32c258897e924895.tar.bz2 |
sapi/src/testextension.c: Fix warnings
-rw-r--r-- | cpukit/sapi/src/testextension.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/sapi/src/testextension.c b/cpukit/sapi/src/testextension.c index e1a1985a1e..f59ae0d3ee 100644 --- a/cpukit/sapi/src/testextension.c +++ b/cpukit/sapi/src/testextension.c @@ -19,10 +19,12 @@ #include <rtems/test.h> #include <rtems/profiling.h> +#if defined(RTEMS_PROFILING) static bool report_done; static rtems_interrupt_lock report_lock = RTEMS_INTERRUPT_LOCK_INITIALIZER( "test report" ); +#endif void rtems_test_fatal_extension( rtems_fatal_source source, |