diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-11 06:49:22 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-11 06:49:22 +0000 |
commit | 436ef337de329a0fba7f597a011169597cec08e5 (patch) | |
tree | afe4e8b40e11c14df7f0b7a6ecd6d1ab3084ffa3 /testsuites/support/src | |
parent | 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-436ef337de329a0fba7f597a011169597cec08e5.tar.bz2 |
2011-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmtests_empty_function.h: New.
* support/src/tmtests_empty_function.c,
support/src/tmtests_support.c:
Include "tmtests_empty_function.h".
Remove local decls (Missing prototypes).
Diffstat (limited to 'testsuites/support/src')
-rw-r--r-- | testsuites/support/src/tmtests_empty_function.c | 2 | ||||
-rw-r--r-- | testsuites/support/src/tmtests_support.c | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/testsuites/support/src/tmtests_empty_function.c b/testsuites/support/src/tmtests_empty_function.c index 9b4ad95b5a..6b3ba3c6b6 100644 --- a/testsuites/support/src/tmtests_empty_function.c +++ b/testsuites/support/src/tmtests_empty_function.c @@ -18,7 +18,7 @@ #include <rtems.h> -rtems_status_code benchmark_timer_empty_function( void ); +#include "tmtests_empty_function.h" rtems_status_code benchmark_timer_empty_function( void ) { diff --git a/testsuites/support/src/tmtests_support.c b/testsuites/support/src/tmtests_support.c index c3208427ec..4521b81d57 100644 --- a/testsuites/support/src/tmtests_support.c +++ b/testsuites/support/src/tmtests_support.c @@ -19,11 +19,7 @@ #include <rtems/timerdrv.h> #include "test_support.h" #include "timesys.h" - -extern void benchmark_timer_empty_operation( - int iteration, - void *argument -); +#include "tmtests_empty_function.h" void rtems_time_test_measure_operation( const char *description, |