summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/nsecs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-22 19:27:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-22 19:27:35 +0000
commit8bfffd9bafdd9406b3848cd302b40900a40644fe (patch)
treedb17b34add22728e1576668a1ee0d749d596b66b /testsuites/samples/nsecs
parent2007-06-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8bfffd9bafdd9406b3848cd302b40900a40644fe.tar.bz2
2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* nsecs/init.c: Do not make this test depend on the benchmark timer driver.
Diffstat (limited to 'testsuites/samples/nsecs')
-rw-r--r--testsuites/samples/nsecs/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/samples/nsecs/init.c b/testsuites/samples/nsecs/init.c
index 5a7c6e35ee..7c9a8261a0 100644
--- a/testsuites/samples/nsecs/init.c
+++ b/testsuites/samples/nsecs/init.c
@@ -41,6 +41,9 @@ void subtract_em(
_Timespec_Subtract( start, stop, t );
}
+/* body below .. hoping it isn't inlined */
+void Empty_function();
+
rtems_task Init(
rtems_task_argument argument
)
@@ -142,3 +145,6 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>
+
+/* put here hoping it won't get inlined */
+void Empty_function() {}