diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-06 21:30:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-06 21:30:04 +0000 |
commit | 2c0f748a4e1282019ab1449ba024a1c59dacfb82 (patch) | |
tree | 2abe7ddf236c5dad4ab0cb19ef2d23af69190ea7 /testsuites | |
parent | 2007-07-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-2c0f748a4e1282019ab1449ba024a1c59dacfb82.tar.bz2 |
2007-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* nsecs/init.c: Change name to avoid any hint of the timer driver.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/samples/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/samples/nsecs/init.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index 3d3416d7ea..f4ab1146af 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,7 @@ +2007-07-06 Joel Sherrill <joel.sherrill@OARcorp.com> + + * nsecs/init.c: Change name to avoid any hint of the timer driver. + 2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com> * nsecs/init.c: Do not make this test depend on the benchmark timer diff --git a/testsuites/samples/nsecs/init.c b/testsuites/samples/nsecs/init.c index 7c9a8261a0..0f858348b9 100644 --- a/testsuites/samples/nsecs/init.c +++ b/testsuites/samples/nsecs/init.c @@ -42,7 +42,7 @@ void subtract_em( } /* body below .. hoping it isn't inlined */ -void Empty_function(); +void dummy_function_empty_body_to_force_call(); rtems_task Init( rtems_task_argument argument @@ -116,7 +116,7 @@ rtems_task Init( int j, max = (index * 10000); rtems_clock_get_uptime( &start ); for (j=0 ; j<max ; j++ ) - Empty_function(); + dummy_function_empty_body_to_force_call(); rtems_clock_get_uptime( &stop ); subtract_em( &start, &stop, &diff ); @@ -147,4 +147,4 @@ rtems_task Init( #include <rtems/confdefs.h> /* put here hoping it won't get inlined */ -void Empty_function() {} +void dummy_function_empty_body_to_force_call() {} |